Beremiz_service.py
changeset 1847 6198190bc121
parent 1841 9fd29e8b1393
child 1850 614396cbffbf
--- a/Beremiz_service.py	Tue Oct 03 16:31:31 2017 +0300
+++ b/Beremiz_service.py	Thu Oct 05 16:38:49 2017 +0300
@@ -28,6 +28,7 @@
 import os
 import sys
 import getopt
+import gettext
 import threading
 from threading import Thread, currentThread, Semaphore
 import traceback
@@ -132,9 +133,6 @@
 
 
 def SetupI18n():
-    # Import module for internationalization
-    import gettext
-
     # Get folder containing translation files
     localedir = os.path.join(beremiz_dir, "locale")
     # Get the default language