@@ -31,7 +31,7 @@ class Command(CompatibilityBaseCommand): |
||
| 31 | 31 |
qiniu_key = 'uncompressed/{}'.format(file_path)
|
| 32 | 32 |
print(' >> File Path: {}'.format(file_path))
|
| 33 | 33 |
print(' >> Qiniu Path: {}'.format(qiniu_key))
|
| 34 |
- # upload_file_path(file_path, key=qiniu_key, bucket='tamron', compress=False) |
|
| 35 |
- # os.remove(file_path) |
|
| 34 |
+ upload_file_path(file_path, key=qiniu_key, bucket='tamron', compress=False) |
|
| 35 |
+ os.remove(file_path) |
|
| 36 | 36 |
except Exception: |
| 37 | 37 |
pass |