:art: Update qiniuonce

huangqimin001 преди 10 месеца
родител
ревизия
99c26823a0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      commands/management/commands/qiniuonce.py

+ 1 - 1
commands/management/commands/qiniuonce.py

@@ -20,7 +20,7 @@ class Command(CompatibilityBaseCommand):
20 20
                 ext = file.split('.')[-1]
21 21
                 if not ext:
22 22
                     continue
23
-                if ext.lower() not in ['jpg', 'jpeg', 'png']:
23
+                if ext.lower() not in ['jpg', 'jpeg', 'png', 'heic']:
24 24
                     continue
25 25
                 try:
26 26
                     file_path = '{}/{}'.format(dir, file)