forked from Support/sp-hydra-veil-gui
Compare commits
No commits in common. "23dbf97309e52816596702646f0b0fdb10c890e0" and "1a1344a48676a3bc72dd8bf8ee544236611a3b84" have entirely different histories.
23dbf97309
...
1a1344a486
3 changed files with 8 additions and 12 deletions
|
|
@ -11,7 +11,7 @@ from core.controllers.tickets.UseTicketController import (
|
|||
from core.models.session.SessionProfile import SessionProfile
|
||||
from core.models.system.SystemProfile import SystemProfile
|
||||
from core.models.Result import Result, ResultError
|
||||
from core.errors.exceptions import SudoScript, MissingPreReqs, FirewallError
|
||||
from core.errors.exceptions import SudoScript, MissingPreReqs
|
||||
from core.Errors import (
|
||||
CommandNotFoundError,
|
||||
EndpointVerificationError,
|
||||
|
|
@ -120,8 +120,6 @@ class Worker(QObject):
|
|||
self.update_signal.emit(str(e), False, None, None, None)
|
||||
except MissingPreReqs as e:
|
||||
self.update_signal.emit(str(e), False, None, None, None)
|
||||
except FirewallError as e:
|
||||
self.update_signal.emit(str(e), False, None, None, None)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
self.update_signal.emit(
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ from core.models.session.SessionProfile import SessionProfile
|
|||
from core.models.system.SystemConnection import SystemConnection
|
||||
from core.models.BaseProfile import ProfileType
|
||||
from core.models.system.SystemProfile import SystemProfile
|
||||
from core.errors.exceptions import SudoScript, MissingPreReqs, FirewallError
|
||||
from core.errors.exceptions import SudoScript, MissingPreReqs
|
||||
from core.models.Result import Result, ResultError
|
||||
|
||||
from gui.v2.infrastructure.setup_observers import (
|
||||
|
|
@ -135,12 +135,10 @@ class WorkerThread(QThread):
|
|||
ProfileController.disable(
|
||||
profile, ignore=True, profile_observer=profile_observer)
|
||||
self.text_output.emit("All profiles were successfully disabled")
|
||||
except SudoScript as e:
|
||||
self.text_output.emit(e)
|
||||
except FirewallError as e:
|
||||
self.text_output.emit(e)
|
||||
except MissingPreReqs as e:
|
||||
self.text_output.emit(e)
|
||||
# except SudoScript as e:
|
||||
# self.text_output.emit(e)
|
||||
# except MissingPreReqs as e:
|
||||
# self.text_output.emit(e)
|
||||
except Exception:
|
||||
self.text_output.emit("An error occurred when disabling profile")
|
||||
finally:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "sp-hydra-veil-gui"
|
||||
version = "2.4.8"
|
||||
version = "2.4.7"
|
||||
authors = [
|
||||
{ name = "Simplified Privacy" },
|
||||
]
|
||||
|
|
@ -12,7 +12,7 @@ classifiers = [
|
|||
"Operating System :: POSIX :: Linux",
|
||||
]
|
||||
dependencies = [
|
||||
"sp-hydra-veil-core == 2.5.3",
|
||||
"sp-hydra-veil-core == 2.4.3",
|
||||
"pyperclip ~= 1.9.0",
|
||||
"pyqt6 ~= 6.7.1",
|
||||
"qrcode[pil] ~= 8.2"
|
||||
|
|
|
|||
Loading…
Reference in a new issue