Support listing bad files with API
This commit is contained in:
parent
ffed8c9181
commit
79eb6573be
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue