: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)