We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4363c2 commit 3c1c18dCopy full SHA for 3c1c18d
mergin/client.py
@@ -1437,8 +1437,8 @@ def send_logs(
1437
)
1438
1439
# We send more from the local logs
1440
- global_logs_file_size_to_send = MAX_LOG_FILE_SIZE_TO_SEND * 0.2
1441
- local_logs_file_size_to_send = MAX_LOG_FILE_SIZE_TO_SEND * 0.8
+ global_logs_file_size_to_send = int(MAX_LOG_FILE_SIZE_TO_SEND * 0.2)
+ local_logs_file_size_to_send = int(MAX_LOG_FILE_SIZE_TO_SEND * 0.8)
1442
1443
global_logs = b""
1444
if global_log_file and os.path.exists(global_log_file):
0 commit comments