mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 05:14:16 +02:00
[api] improvement: SoftwareManager.get_screenshots returning a generator instead of a list
This commit is contained in:
@@ -1066,7 +1066,7 @@ class ShowScreenshots(AsyncAction):
|
||||
|
||||
def run(self):
|
||||
if self.pkg:
|
||||
self.notify_finished({'pkg': self.pkg, 'screenshots': self.manager.get_screenshots(self.pkg.model)})
|
||||
self.notify_finished({'pkg': self.pkg, 'screenshots': tuple(self.manager.get_screenshots(self.pkg.model))})
|
||||
|
||||
self.pkg = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user