Closed tissole closed 2 years ago
I found that the culprit is in line 60 from upload.py elif os.stat(current_name).st_size < TG_MAX_FILE_SIZE: It should be elif os.stat(current_name).st_size <= TG_MAX_FILE_SIZE:
elif os.stat(current_name).st_size < TG_MAX_FILE_SIZE:
elif os.stat(current_name).st_size <= TG_MAX_FILE_SIZE:
Can you do a pr, please?
Never done it, I don't know how.
I found that the culprit is in line 60 from upload.py
elif os.stat(current_name).st_size < TG_MAX_FILE_SIZE:
It should beelif os.stat(current_name).st_size <= TG_MAX_FILE_SIZE: