Update server.py
Browse files
server.py
CHANGED
|
@@ -197,7 +197,7 @@ def compress_folder():
|
|
| 197 |
print("文件小于800MB,不进行上传。")
|
| 198 |
return
|
| 199 |
|
| 200 |
-
if last_uploaded_size == -1 or file_size
|
| 201 |
# 判断是否为首次运行或上次上传大小为0
|
| 202 |
if last_uploaded_size == -1:
|
| 203 |
print("首次运行,正在执行上传...")
|
|
|
|
| 197 |
print("文件小于800MB,不进行上传。")
|
| 198 |
return
|
| 199 |
|
| 200 |
+
if last_uploaded_size == -1 or file_size != last_uploaded_size:
|
| 201 |
# 判断是否为首次运行或上次上传大小为0
|
| 202 |
if last_uploaded_size == -1:
|
| 203 |
print("首次运行,正在执行上传...")
|