X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/72aa95b191fa72055a57c57cc79a68c3a6ebec4b..3f5b3ce6eff6f8cfdb64c3be19fa3aeb6351926e:/tools/interfaces/IPlatform.py diff --git a/tools/interfaces/IPlatform.py b/tools/interfaces/IPlatform.py index 67f8a3e..307508c 100644 --- a/tools/interfaces/IPlatform.py +++ b/tools/interfaces/IPlatform.py @@ -71,11 +71,11 @@ class IPlatform: reply, status = self.client.transact_sync_reply( TRANSACTION_getAppsInfo, request) + apps_list = [] if status: logging.error("Sending reply failed") else: reader = reply.init_reader() - apps_list = [] status, exception = reader.read_int32() if exception == 0: status, apps = reader.read_int32()