summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-14 00:02:37 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-14 00:02:37 +0100
commit824a513b4e95059e6f76f2f6a88aa01e9dccd166 (patch)
treea36373db73a29e665c2fb23a0ef6c4891455838d /src
parentbump version (diff)
downloadblueshift-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>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/__main__.py8
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