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

Update server2.py

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