X-Git-Url: http://git.veekun.com/zzz-pokedex.git/blobdiff_plain/7323dd76007f16915391386822a7bd8a3a58ebab..42d4a78163efaa604ff0bed56f3b8a2fdc6c4c60:/pokedex/db/load.py?ds=sidebyside diff --git a/pokedex/db/load.py b/pokedex/db/load.py index b17438d..df0d0f1 100644 --- a/pokedex/db/load.py +++ b/pokedex/db/load.py @@ -179,7 +179,7 @@ def load(session, tables=[], directory=None, drop_tables=False, verbose=False): session.commit() new_rows[:] = [] - progress = "{0}%".format(100 * csvfile.tell() // csvsize) + progress = "%d%%" % (100 * csvfile.tell() // csvsize) print_status(progress) for csvs in reader: