set system locale on application start
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import getpass
|
import getpass
|
||||||
|
import locale
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
@@ -405,6 +406,8 @@ def start_gui():
|
|||||||
|
|
||||||
init_logger(logger)
|
init_logger(logger)
|
||||||
|
|
||||||
|
locale.setlocale(locale.LC_TIME, "")
|
||||||
|
|
||||||
# prevent multiple instances
|
# prevent multiple instances
|
||||||
if (app.acquire_lock() or "--no-lock" in sys.argv) and verify_server():
|
if (app.acquire_lock() or "--no-lock" in sys.argv) and verify_server():
|
||||||
app.init_ui()
|
app.init_ui()
|
||||||
|
|||||||
Reference in New Issue
Block a user