mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
flake8: E701 multiple statements on one line (colon)
This commit is contained in:
@ -319,8 +319,10 @@ def getFilesInfo(req):
|
||||
resultID.append(result[-1]) # add file object to the response array
|
||||
|
||||
if fileId:
|
||||
if len(resultID) > 0: return resultID
|
||||
else: return "File not found"
|
||||
if len(resultID) > 0:
|
||||
return resultID
|
||||
else:
|
||||
return "File not found"
|
||||
else:
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user