Compare commits

..
2 changed files with 1 additions and 11 deletions
-10
View File
@@ -1,14 +1,4 @@
#!/usr/bin/env python3
# /// script
# dependencies = [
# "tqdm",
# "requests",
# "dbus-python",
# "gbinder",
# "PyGObject",
# "InquirerPy"
# ]
# ///
from InquirerPy import inquirer
from InquirerPy.base.control import Choice
from InquirerPy.separator import Separator
+1 -1
View File
@@ -40,7 +40,7 @@ def run(args: list, env: Optional[str] = None, ignore: Optional[str] = None):
)
# print(result.stdout.decode())
if result.stderr:
if result.returncode != 0 and result.stderr:
error = result.stderr.decode("utf-8")
if ignore and re.match(ignore, error):
return result