Compare commits

...

2 commits

Author SHA1 Message Date
Tobias Schmidl
4f97a24edf don't print import error to stdout 2021-12-17 08:30:55 +01:00
Tobias Schmidl
ae0b86d50e Updated metadata 2021-04-28 10:24:09 +02:00

View file

@ -9,16 +9,16 @@
# <bitbar.desc>Greps and displays system updates.</bitbar.desc>
# <bitbar.image></bitbar.image>
# <bitbar.dependencies>python,aptdaemon,apt</bitbar.dependencies>
# <bitbar.abouturl>https://github.com/schtobia/argos-httping/blob/master/httping.py</bitbar.abouturl>
# <bitbar.abouturl>https://gitlab.com/schtobia/argos-apt/blob/master/argos-apt.py</bitbar.abouturl>
import sys
from apt import Cache
__author__ = "Tobias Schmidl"
__copyright__ = "Copyright 2018, Tobias Schmidl"
__copyright__ = "Copyright 2021, Tobias Schmidl"
__license__ = "MIT"
__version__ = "0.0.1"
__version__ = "1.0"
__maintainer__ = "Tobias Schmidl"
THEMES = {
@ -35,7 +35,8 @@ if __name__ == "__main__":
apt_client = client.AptClient()
apt_client.update_cache(wait=True)
except ImportError as err:
print(str(err), file=sys.stderr)
# print(str(err), file=sys.stderr)
pass
cache = Cache()
cache.open()