Skip to content

Commit

Permalink
Update to allow specification of the theme directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
transientlunatic committed Feb 2, 2023
1 parent 5f15b8b commit db81bfd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions otter/otter.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def __init__(self, filename, theme_location=None, config_file=None, **kwargs):
# Attempt to load in default meta data from a config file
# At the moment just the current directory, but should
# extend to look in home directory and environment variable location too

config = ConfigParser()
#if not config_file:
try:
Expand All @@ -53,7 +52,7 @@ def __init__(self, filename, theme_location=None, config_file=None, **kwargs):

if theme_location:
theme = theme_location

elif config.has_option("theme", "name"):
try:
import importlib
Expand Down

0 comments on commit db81bfd

Please sign in to comment.