Qilan2 commited on
Commit
1494edf
·
verified ·
1 Parent(s): aef8a6e

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -185,7 +185,7 @@ def compress_folder():
185
  print(f"Data compressed into {file_path}")
186
 
187
  file_size = os.path.getsize(file_path) # 获取压缩包的大小
188
- print('文件大小:', file_size, '上次文件大小:', last_uploaded_size)
189
 
190
  # 判断是否大于800MB (800MB = 800 * 1024 * 1024 字节)
191
  if file_size < (800 * 1024 ** 2):
 
185
  print(f"Data compressed into {file_path}")
186
 
187
  file_size = os.path.getsize(file_path) # 获取压缩包的大小
188
+ print('文件大小:', file_size, '上次文件大小:', last_uploaded_size,file_size * 1024 ** 2)
189
 
190
  # 判断是否大于800MB (800MB = 800 * 1024 * 1024 字节)
191
  if file_size < (800 * 1024 ** 2):