Refactor sugar.env and paths
This commit is contained in:
@@ -27,7 +27,7 @@ bus = dbus.SessionBus()
|
||||
proxy_obj = bus.get_object(DBUS_SERVICE, DBUS_PATH)
|
||||
dbus_service = dbus.Interface(proxy_obj, DBUS_SERVICE)
|
||||
|
||||
bundle_dir = env.get_user_activities_dir()
|
||||
bundle_dir = env.get_user_activities_path()
|
||||
|
||||
zip_file = zipfile.ZipFile(sys.argv[1])
|
||||
file_names = zip_file.namelist()
|
||||
|
||||
Reference in New Issue
Block a user