Yandex_update

feature/fix_accout_not_found
Andrey 8 years ago
parent bec31b7428
commit 2ceb8ac8f4
  1. 1
      storage/api.py

@ -5,6 +5,7 @@ def upload_file(ext=None, original=None, name=None, base64=None, **_kwargs) -> F
if original:
new_file = File.objects.create(original=original)
else:
ext = name.split('.')[1] if ext is None else ext
new_file = File.objects.upload_as_base64(base64, ext)
if name:

Loading…
Cancel
Save