mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-03 17:29:37 +00:00
Move arithmetic to Python code
This commit is contained in:
parent
57bbcbd639
commit
dcd516aa48
@ -167,7 +167,7 @@
|
|||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
<h2>Upload File</h2>
|
<h2>Upload File</h2>
|
||||||
<p>Uploads file to <tt>{{base_dir}}</tt>. The largest file size accepted is {{max_file_size / 1024 /1024}} MB</p>
|
<p>Uploads file to <tt>{{base_dir}}</tt>. The largest file size accepted is {{max_file_size}} MB</p>
|
||||||
<table style="border: none">
|
<table style="border: none">
|
||||||
<tr style="border: none">
|
<tr style="border: none">
|
||||||
<td style="border: none; vertical-align:top;">
|
<td style="border: none; vertical-align:top;">
|
||||||
|
@ -69,7 +69,7 @@ def index():
|
|||||||
base_dir=base_dir,
|
base_dir=base_dir,
|
||||||
scsi_ids=scsi_ids,
|
scsi_ids=scsi_ids,
|
||||||
reserved_scsi_ids=reserved_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(),
|
running_env=running_env(),
|
||||||
server_info=server_info,
|
server_info=server_info,
|
||||||
netinfo=get_network_info(),
|
netinfo=get_network_info(),
|
||||||
|
Loading…
Reference in New Issue
Block a user