mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
str to float
This commit is contained in:
parent
ce05888f62
commit
6d343394e9
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ def write_zim_versions_idx():
|
|||
get_substitution_data(perma_ref, zims_installed, path_to_id_map)
|
||||
zim_versions[perma_ref]['article_count'] = articlecount
|
||||
zim_versions[perma_ref]['media_count'] = mediacount
|
||||
size = human_readable(size * 1024) # kiwix reports in K
|
||||
size = human_readable(float(size) * 1024) # kiwix reports in K
|
||||
zim_versions[perma_ref]['size'] = size
|
||||
zim_versions[perma_ref]['tags'] = tags
|
||||
zim_versions[perma_ref]['language'] = lang
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue