diff options
| author | Mattias Andrée <maandree@operamail.com> | 2014-03-14 00:02:37 +0100 | 
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2014-03-14 00:02:37 +0100 | 
| commit | 824a513b4e95059e6f76f2f6a88aa01e9dccd166 (patch) | |
| tree | a36373db73a29e665c2fb23a0ef6c4891455838d | |
| parent | bump version (diff) | |
| download | blueshift-1.9.tar.gz blueshift-1.9.tar.bz2 blueshift-1.9.tar.xz | |
m bug1.9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
| -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 | 
