ui: Fix notifications.

This commit is contained in:
tecnovert
2022-10-21 01:50:49 +02:00
parent 3c2eb5f9f8
commit a9f3eeefff
2 changed files with 10 additions and 1 deletions

View File

@@ -1034,7 +1034,7 @@ class BasicSwap(BaseApp):
def getNotifications(self):
rv = []
for k, v in self._notifications_cache.items():
rv.append((time.strftime('%d-%m-%y %H:%M:%S', time.localtime(k)), int(v[0]), json.dumps(v[1])))
rv.append((time.strftime('%d-%m-%y %H:%M:%S', time.localtime(k)), int(v[0]), v[1]))
return rv
def vacuumDB(self):