Skip to content

Commit

Permalink
Merge pull request #153 from amigrave/master
Browse files Browse the repository at this point in the history
Expand variables for custom theme path
  • Loading branch information
inducer committed Jul 24, 2015
2 parents 0d70fe8 + d344b08 commit 79bb08a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pudb/theme.py
Expand Up @@ -522,8 +522,8 @@ def add_setting(color, setting):
"add_setting": add_setting,
}

from os.path import expanduser
execfile(expanduser(theme), symbols)
from os.path import expanduser, expandvars
execfile(expanduser(expandvars(theme)), symbols)
except:
print("Error when importing theme:")
from traceback import print_exc
Expand Down

0 comments on commit 79bb08a

Please sign in to comment.