Commit 35f7fa0f by devttys0

Fixed typo in common.py

parent c12fdd7c
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
# 7z handles most zip files, but fails on some zip archives, inexplicably seeing # 7z handles most zip files, but fails on some zip archives, inexplicably seeing
# only the *last* entry in the zip archive (though 7z thinks it succeeded). See # only the *last* entry in the zip archive (though 7z thinks it succeeded). See
# StarCam firmware CH-sys-48.53.64.67.zip. # StarCam firmware CH-sys-48.53.64.67.zip.
^zip archive data:zip:unzip '%e':0 ^zip archive data:zip:unzip -o '%e':0
^zip archive data:zip:jar xvf '%e':0 ^zip archive data:zip:jar xvf '%e':0
^zip archive data:zip:7z x -y '%e' -p '':0,1 ^zip archive data:zip:7z x -y '%e' -p '':0,1
......
...@@ -132,7 +132,7 @@ class Settings(object): ...@@ -132,7 +132,7 @@ class Settings(object):
user_dir = os.getenv(envname) user_dir = os.getenv(envname)
if user_dir is not None: if user_dir is not None:
return user_dir return user_dir
if os.path.expanduser("~") is Not None: if os.path.expanduser("~") is not None:
return os.path.expanduser("~") return os.path.expanduser("~")
except KeyboardInterrupt as e: except KeyboardInterrupt as e:
raise e raise e
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment