diff --git a/src/web/templates/index.html b/src/web/templates/index.html index 29f9bca1..f62b63cd 100644 --- a/src/web/templates/index.html +++ b/src/web/templates/index.html @@ -167,7 +167,7 @@
Uploads file to {{base_dir}}. The largest file size accepted is {{max_file_size / 1024 /1024}} MB
+Uploads file to {{base_dir}}. The largest file size accepted is {{max_file_size}} MB
diff --git a/src/web/web.py b/src/web/web.py index 50f50231..30ed3de8 100644 --- a/src/web/web.py +++ b/src/web/web.py @@ -69,7 +69,7 @@ def index(): base_dir=base_dir, scsi_ids=scsi_ids, reserved_scsi_ids=reserved_scsi_ids, - max_file_size=MAX_FILE_SIZE, + max_file_size=int(MAX_FILE_SIZE / 1024 / 1024), running_env=running_env(), server_info=server_info, netinfo=get_network_info(), |