mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Change subprocess bullet character in one more places
This commit is contained in:
parent
51414f2c96
commit
3c0dc74407
2 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ class GuiCommon(object):
|
|||
|
||||
# Run
|
||||
args_str = " ".join(pipes.quote(s) for s in args)
|
||||
print(Fore.YELLOW + "\u2023 " + Fore.CYAN + args_str) # ‣
|
||||
print(Fore.YELLOW + "> " + Fore.CYAN + args_str)
|
||||
subprocess.run(args)
|
||||
|
||||
elif platform.system() == "Linux":
|
||||
|
@ -76,7 +76,7 @@ class GuiCommon(object):
|
|||
|
||||
# Open as a background process
|
||||
args_str = " ".join(pipes.quote(s) for s in args)
|
||||
print(Fore.YELLOW + "\u2023 " + Fore.CYAN + args_str) # ‣
|
||||
print(Fore.YELLOW + "> " + Fore.CYAN + args_str)
|
||||
subprocess.Popen(args)
|
||||
|
||||
def _find_pdf_viewers(self):
|
||||
|
|
|
@ -39,7 +39,7 @@ class TaskBase(QtCore.QThread):
|
|||
|
||||
if p.returncode == 126 or p.returncode == 127:
|
||||
self.task_failed.emit(f"Authorization failed")
|
||||
elif p.returncode == 0:
|
||||
elif p.returncode != 0:
|
||||
self.task_failed.emit(f"Return code: {p.returncode}")
|
||||
|
||||
print("")
|
||||
|
|
Loading…
Reference in a new issue