mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 23:22:44 +01:00
fix: suppress stdout
This commit is contained in:
1 parent
629c974b9d
commit
1b6ebac3a3
1 file changed
+1
-3
@@ -208,8 +208,7 @@ class UninstallPage(ScrolledWizardPage):
|
|||||||
def wipe_pyapp(self) -> None:
|
def wipe_pyapp(self) -> None:
|
||||||
if self.pyapp is None:
|
if self.pyapp is None:
|
||||||
return
|
return
|
||||||
res = subprocess.run([self.pyapp, "self", "remove"])
|
subprocess.run([self.pyapp, "self", "remove"])
|
||||||
print(res)
|
|
||||||
|
|
||||||
def uninstall(self) -> None:
|
def uninstall(self) -> None:
|
||||||
for box in self.boxes:
|
for box in self.boxes:
|
||||||
@@ -224,7 +223,6 @@ class UninstallWizard(Gtk.Application):
|
|||||||
def __init__(self, is_deck: bool, paths: dict[str, str]) -> None:
|
def __init__(self, is_deck: bool, paths: dict[str, str]) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
config = Path(paths["XDG_CONFIG_HOME"])
|
config = Path(paths["XDG_CONFIG_HOME"])
|
||||||
# TODO: tests
|
|
||||||
if not config.is_dir() or not config.joinpath("config.json").is_file():
|
if not config.is_dir() or not config.joinpath("config.json").is_file():
|
||||||
print(uninstall.not_installed)
|
print(uninstall.not_installed)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user