Commit ·
28a2a0e
1
Parent(s): 13eee94
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os
|
|
| 6 |
def is_file_larger_than_30mb(file_path):
|
| 7 |
try:
|
| 8 |
file_size = os.path.getsize(file_path)
|
| 9 |
-
return file_size > (
|
| 10 |
except FileNotFoundError:
|
| 11 |
return False
|
| 12 |
except PermissionError:
|
|
|
|
| 6 |
def is_file_larger_than_30mb(file_path):
|
| 7 |
try:
|
| 8 |
file_size = os.path.getsize(file_path)
|
| 9 |
+
return file_size > (300* 1024 * 1024)
|
| 10 |
except FileNotFoundError:
|
| 11 |
return False
|
| 12 |
except PermissionError:
|