Qilan2 commited on
Commit
0553f32
·
verified ·
1 Parent(s): e78722e

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -1
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 !== last_uploaded_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("首次运行,正在执行上传...")