mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 03:34:15 +02:00
refactoring: history
This commit is contained in:
@@ -196,8 +196,7 @@ class GetAppHistory(QThread):
|
||||
def run(self):
|
||||
if self.app:
|
||||
try:
|
||||
res = {'model': self.app.model, 'history': self.manager.get_history(self.app.model)}
|
||||
self.signal_finished.emit(res)
|
||||
self.signal_finished.emit({'history': self.manager.get_history(self.app.model)})
|
||||
except (requests.exceptions.ConnectionError, NoInternetException):
|
||||
self.signal_finished.emit({'error': self.locale_keys['internet.required']})
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user