mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-17 21:56:07 -04:00
Global settings works, basic support for account settings
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
# -*- coding: cp1252
|
||||
import sys, os, config
|
||||
import sys, os
|
||||
|
||||
def restart_program():
|
||||
""" Function that restarts the application if is executed."""
|
||||
config.main.write()
|
||||
args = sys.argv[:]
|
||||
if not hasattr(sys, "frozen"):
|
||||
args.insert(0, sys.executable)
|
||||
|
Reference in New Issue
Block a user