aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-03-22 07:45:18 +0000
committerJuan J. Martinez <jjm@usebox.net>2024-03-22 07:45:18 +0000
commitfd5f4450eff792ec44e52b43dfceb2c8d91d5a43 (patch)
treedd55278e0225725550510ab26c53386f4179d5ed
parentde6a2e20b79611b209a92795445cae7b8558e8ce (diff)
downloaddotnvim-fd5f4450eff792ec44e52b43dfceb2c8d91d5a43.tar.gz
dotnvim-fd5f4450eff792ec44e52b43dfceb2c8d91d5a43.zip
Fix parsin the output
-rwxr-xr-xi3/check-updates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3/check-updates.py b/i3/check-updates.py
index 429dde4..7c09f07 100755
--- a/i3/check-updates.py
+++ b/i3/check-updates.py
@@ -20,7 +20,7 @@ CMD = ["apt", "list", "--upgradeable"]
def check_updates():
output = str(subprocess.check_output(CMD, stderr=subprocess.DEVNULL))
- output = output.splitlines()
+ output = output.split("\\n")
return len(output[1:-1])