:art: Update qiniuonce

huangqimin001 10 mesi fa
parent
commit
99c26823a0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)