mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 00:24:40 +01:00
ui: make sure 'service' variable is set
Fixes error when running `opensnitch-ui` again:
> if service:
> ^^^^^^^
> NameError: name 'service' is not defined. Did you mean: 'UIService'?
Fixes: cdf93c72c1
("ui: fixed delay closing the GUI")
This commit is contained in:
parent
45f5b62978
commit
9e2ef5f491
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,8 @@ Examples:
|
|||
except Exception:
|
||||
pass
|
||||
|
||||
service = None
|
||||
|
||||
try:
|
||||
Utils.create_socket_dirs()
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
|
|
Loading…
Add table
Reference in a new issue