diff -r 396da88d7b5c -r a776ac02b079 Beremiz_service.py --- a/Beremiz_service.py Fri Sep 22 16:37:38 2017 +0300 +++ b/Beremiz_service.py Fri Sep 22 18:06:15 2017 +0300 @@ -29,7 +29,7 @@ import sys import getopt import threading -from threading import Thread +from threading import Thread, currentThread import traceback import __builtin__ import Pyro.core as pyro @@ -179,7 +179,6 @@ if havewx: import re - from threading import Thread, currentThread from types import * if wx.VERSION >= (3, 0, 0): @@ -478,7 +477,6 @@ with warnings.catch_warnings(): warnings.simplefilter("ignore") try: - from threading import Thread, currentThread if havewx: from twisted.internet import wxreactor wxreactor.install()