Handle soft dependency for wxPython properly, addresses #6

This commit is contained in:
Ammar Askar committed 2012-09-08 03:07:17 +05:00
1 parent 057804b93e
commit 4ffcc4b04d
3 files changed
+43 -35

No files matched your search

+6 -4
View File
@@ -1,5 +1,4 @@
import socket
import wx
import PacketListenerManager
import urllib2
import urllib
@@ -14,9 +13,12 @@ from Crypto.Util import asn1
from Crypto.PublicKey import RSA
from Crypto.Cipher import AES
from Crypto.Cipher import PKCS1_v1_5
#Eclipse pyDev error fix
wx=wx
try:
import wx
#Eclipse pyDev error fix
wx=wx
except ImportError:
pass
EntityID = 0