commit 2b028446cffb819cd1eb9327c16240d24001b711
parent 36f1bc9aeb300f52dc2fd35521a2424dc6b118bb
Author: therealFIGBERT <figbertwelner@gmail.com>
Date: Sat, 10 Aug 2019 15:30:39 -0700
2.2.1
Diffstat:
2 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/Scripts/check.py b/Scripts/check.py
@@ -22,18 +22,11 @@ def password_check(first_pass, second_pass):
# Keyword arguments:
# filename -- the filename to convert to a filepath
# """
-# if hasattr(sys, '_MEIPASS'):
-# # PyInstaller >= 1.6
-# os.chdir(sys._MEIPASS)
-# filename = os.path.join(sys._MEIPASS, filename)
-# elif '_MEIPASS2' in os.environ:
-# # PyInstaller < 1.6 (tested on 1.5 only)
-# os.chdir(os.environ['_MEIPASS2'])
-# filename = os.path.join(os.environ['_MEIPASS2'], filename)
-# else:
-# os.chdir(os.path.dirname(sys.argv[0]))
-# filename = os.path.join(os.path.dirname(sys.argv[0]), filename)
-# return filename
+# try:
+# base_path = sys._MEIPASS
+# except Exception:
+# base_path = os.path.abspath(".")
+# return os.path.join(base_path, filename)
def find_path(file):
diff --git a/Scripts/version.txt b/Scripts/version.txt
@@ -1 +1 @@
-2.2.0
-\ No newline at end of file
+2.2.1
+\ No newline at end of file