1
0
Fork 0
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:
Tim Moody 2019-07-15 10:26:24 -04:00
parent ce05888f62
commit 6d343394e9

View file

@ -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