Handle soft dependency for wxPython properly, addresses #6
This commit is contained in:
1 parent
057804b93e
commit
4ffcc4b04d
3 files changed
+43
-35
No files matched your search
@@ -1,15 +1,17 @@
|
||||
import wx
|
||||
import wx.lib.scrolledpanel as scrolled
|
||||
import wx.richtext as rt
|
||||
import start
|
||||
import threading
|
||||
import time
|
||||
from networking import NetworkManager, PacketSenderManager
|
||||
import thread
|
||||
from threading import Lock
|
||||
|
||||
#pydev error fix
|
||||
wx=wx
|
||||
try:
|
||||
import wx
|
||||
import wx.lib.scrolledpanel as scrolled
|
||||
import wx.richtext as rt
|
||||
#Eclipse pyDev error fix
|
||||
wx=wx
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
connection = None
|
||||
|
||||
|
||||
Reference in new issue
Block a user