Support listing bad files with API

This commit is contained in:
shortcutme 2019-04-08 18:14:45 +02:00
parent ffed8c9181
commit 79eb6573be
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -383,6 +383,9 @@ class UiWebsocket(object):
ret["event"] = ("file_done", file_status)
self.response(to, ret)
def actionSiteBadFiles(self, to):
return list(self.site.bad_files.keys())
# Join to an event channel
def actionChannelJoin(self, to, channels):
if type(channels) != list: