Qilan2 commited on
Commit
cf897a7
·
verified ·
1 Parent(s): 7cd4a95

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -221,7 +221,7 @@ def compress_folder():
221
  print('文件大小:', file_size, '上次文件大小:', last_uploaded_size,file_size * 1024 ** 2)
222
 
223
  # 判断是否大于800MB (800MB = 800 * 1024 * 1024 字节)
224
- if file_size < (800 * 1024 ** 2):
225
  print("文件小于800MB,不进行上传。")
226
  return
227
 
 
221
  print('文件大小:', file_size, '上次文件大小:', last_uploaded_size,file_size * 1024 ** 2)
222
 
223
  # 判断是否大于800MB (800MB = 800 * 1024 * 1024 字节)
224
+ if file_size < (400 * 1024 ** 2):
225
  print("文件小于800MB,不进行上传。")
226
  return
227