Closed petrasovaa closed 7 years ago
I don't want to commit, so here are just couple things:
this is my mistake, instead of:
if gscript.locn_is_latlong:
should be:
if gscript.locn_is_latlong():
Then in this code:
total_size = sum(dwnld_size) len_total_size = len(str(total_size)) if 6 < len_total_size < 10: total_size_float = total_size * 1e-6 total_size_str = str("{0:.2f}".format(total_size_float) + " MB") elif len_total_size >= 10: total_size_float = total_size * 1e-9 total_size_str = str("{0:.2f}".format(total_size_float) + " GB")
total_size_str is undefined when you have all zip files already downloaded, but it is used later, so that needs to be handled
total_size_str
I think this is all fixed now
I don't want to commit, so here are just couple things:
this is my mistake, instead of:
should be:
Then in this code:
total_size_str
is undefined when you have all zip files already downloaded, but it is used later, so that needs to be handled