diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/__main__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/__main__.py b/src/__main__.py index 5a9fcbb..a2d25ec 100755 --- a/src/__main__.py +++ b/src/__main__.py @@ -25,7 +25,7 @@ from argparser import * PROGRAM_NAME = 'blueshift' -PROGRAM_VERSION = '1.10' +PROGRAM_VERSION = '1.9' ## Set global variables @@ -417,10 +417,10 @@ else: else: file = None break - if file.startswith('$~'): - import pwd - file = pwd.getpwuid(os.getuid()).pw_dir + file[2:] if file is not None: + if file.startswith('$~'): + import pwd + file = pwd.getpwuid(os.getuid()).pw_dir + file[2:] file = file.replace('\0', '$') if os.path.exists(file): config_file = file |