Caching icon loaded from disk

This commit is contained in:
Vinícius Moreira
2019-07-11 17:02:44 -03:00
committed by GitHub
parent 4d3abfcf89
commit 2f4fc0335d
2 changed files with 8 additions and 4 deletions

View File

@@ -81,9 +81,7 @@ class FlatpakAsyncDataLoader(Thread):
break
else:
self.log_msg(
"Could not retrieve app data for id '{}'. Server response: {}. Body: {}".format(
app.base_data.id, res.status_code, res.content.decode()), Fore.RED)
self.log_msg("Could not retrieve app data for id '{}'. Server response: {}. Body: {}".format(app.base_data.id, res.status_code, res.content.decode()), Fore.RED)
except:
self.log_msg("Could not retrieve app data for id '{}'".format(app.base_data.id), Fore.YELLOW)
traceback.print_exc()