diff --git a/apt.py b/argos-apt.py similarity index 97% rename from apt.py rename to argos-apt.py index db22508..d719c05 100755 --- a/apt.py +++ b/argos-apt.py @@ -12,7 +12,7 @@ # https://github.com/schtobia/argos-httping/blob/master/httping.py from aptdaemon import client -import apt +from apt import Cache import sys __author__ = "Tobias Schmidl" @@ -30,7 +30,7 @@ class Themes: apt_client = client.AptClient() apt_client.update_cache(wait=True) -cache = apt.Cache() +cache = Cache() cache.open() update_list = [pkg for pkg in cache if pkg.is_upgradable] if len(update_list) == 0: