Skip to content

Commit

Permalink
Fix: Windows: Loggin needs to be initialized _before_ Configuration. …
Browse files Browse the repository at this point in the history
…Ref #309
  • Loading branch information
kozec committed Aug 29, 2016
1 parent 60920be commit 52df093
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/syncthing-gtk-exe.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
from syncthing_gtk.tools import get_install_path
path = get_install_path()
os.chdir(path)
print os.environ["PATH"]
os.environ["PATH"] = path

from syncthing_gtk.tools import init_logging, init_locale
from syncthing_gtk import windows, Configuration

init_logging()
config = Configuration()

# Force dark theme if reqested
Expand All @@ -47,7 +47,6 @@


windows.enable_localization()
init_logging()
init_locale(os.path.join(path, "locale"))

# Tell cx_Freeze that I really need this library
Expand Down

0 comments on commit 52df093

Please sign in to comment.