pylance things

This commit is contained in:
2026-08-21 00:57:15 -07:00
parent 7a438b1798
commit 19bd3f1279
21 changed files with 917 additions and 906 deletions
+3 -2
View File
@@ -21,10 +21,11 @@ PLATFORM_NAME = platform.system().lower()
APP_NAME = "flares"
if PLATFORM_NAME == 'darwin':
LOG_FILE = os.path.join(os.path.dirname(sys.executable), f"../../../{APP_NAME}_updater.log")
_log_path = os.path.join(os.path.dirname(sys.executable), f"../../../{APP_NAME}_updater.log")
else:
LOG_FILE = os.path.join(os.getcwd(), f"{APP_NAME}_updater.log")
_log_path = os.path.join(os.getcwd(), f"{APP_NAME}_updater.log")
LOG_FILE = _log_path
def log(msg):
with open(LOG_FILE, "a", encoding="utf-8") as f: