server/rest: allow files with empty content
This commit is contained in:
parent
096b6bc61e
commit
a496e8980f
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Context:
|
|||
use_video_downloader: bool = False,
|
||||
allow_tokens: bool = True,
|
||||
) -> bytes:
|
||||
if name in self._files and self._files[name]:
|
||||
if name in self._files:
|
||||
return self._files[name]
|
||||
|
||||
if name + "Url" in self._params:
|
||||
|
|
Reference in a new issue