Skip to content

Commit

Permalink
fixed except when try import QtGui
Browse files Browse the repository at this point in the history
  • Loading branch information
mh4x0f committed Nov 28, 2017
1 parent 61b8436 commit a67d968
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Version 0.8.5
- fixed small bug with Table when add new users
- added new icon WiFi-Pumpkin
- fixed group all object PyQt4 QtGui,QtCore
- fixed except when try import QtGui

Version 0.8.4
-------------
Expand Down
1 change: 1 addition & 0 deletions core/config/commits/Lcommits.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ master:
{ changelog : 'fixed small bug with Table when add new users' },
{ changelog : 'added new icon WiFi-Pumpkin' },
{ changelog : 'fixed group all object PyQt4 [QtGui,QtCore]' },
{ changelog : 'fixed except when try import QtGui' },
]

WiFiPumpkin084:
Expand Down
7 changes: 4 additions & 3 deletions wifi-pumpkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@
if __name__ == '__main__':
from core.loaders.checker.depedences import check_dep_pumpkin
try:
from core.loaders.checker.networkmanager import CLI_NetworkManager,UI_NetworkManager
from core.utility.collection import SettingsINI
from core.utility.application import ApplicationLoop,QtGui
from core.main import Initialize
except ImportError:
exit('WiFi-Pumpkin need PyQt4 :(')

from core.main import Initialize
from core.loaders.checker.networkmanager import CLI_NetworkManager, UI_NetworkManager
from core.utility.collection import SettingsINI

check_dep_pumpkin()
from os import getuid
if not getuid() == 0:
Expand Down

0 comments on commit a67d968

Please sign in to comment.