diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-03-22 07:45:18 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-03-22 07:45:18 +0000 |
commit | fd5f4450eff792ec44e52b43dfceb2c8d91d5a43 (patch) | |
tree | dd55278e0225725550510ab26c53386f4179d5ed | |
parent | de6a2e20b79611b209a92795445cae7b8558e8ce (diff) | |
download | dotnvim-fd5f4450eff792ec44e52b43dfceb2c8d91d5a43.tar.gz dotnvim-fd5f4450eff792ec44e52b43dfceb2c8d91d5a43.zip |
Fix parsin the output
-rwxr-xr-x | i3/check-updates.py | 2 |
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]) |