commit | 9d2db15391109d3059b006bf911ddc11c3558d98 | [log] [tgz] |
---|---|---|
author | Dave Fisher <dave@davefisher.tech> | Tue Jun 08 23:23:25 2021 -0700 |
committer | Dave Fisher <dave@davefisher.tech> | Tue Jun 08 23:23:25 2021 -0700 |
tree | d2923316fd47971cae799cb3dd28d13a55dcf295 | |
parent | 97852a94a6879726db174a8dd7b7799d598258d4 [diff] |
fix float
diff --git a/theme/plugins/asfdata.py b/theme/plugins/asfdata.py index c2886e1..35cd9db 100644 --- a/theme/plugins/asfdata.py +++ b/theme/plugins/asfdata.py
@@ -393,7 +393,7 @@ # date is close enough dtm = dtm1.strftime("%m/%d/%Y") # covert to number of MB - fsize = round(bytesto(fsize, 'm'), 2) + ' MB' + fsize = round(bytesto(float(fsize), 'm'), 2) + ' MB' # line is path line = listing[-1] # fields are parts of the path