projects
/
zzz-pokedex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
B/W: Footprints! Replace the old ones with a B/W rip.
[zzz-pokedex.git]
/
pokedex
/
db
/
load.py
diff --git
a/pokedex/db/load.py
b/pokedex/db/load.py
index
b17438d
..
df0d0f1
100644
(file)
--- 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[:] = []
session.commit()
new_rows[:] = []
- progress = "
{0}%".format
(100 * csvfile.tell() // csvsize)
+ progress = "
%d%%" %
(100 * csvfile.tell() // csvsize)
print_status(progress)
for csvs in reader:
print_status(progress)
for csvs in reader: