Merge pull request #201 from AeonAxan/patch-1

fixed typo
pull/202/head
William Ting 11 years ago
commit 883967e9f1

@ -193,7 +193,7 @@ class Database:
for path, weight in sorted(self.data.items(),
key=itemgetter(1),
reverse=True):
temp.write((unico("%s\t%s\n")%(weight, path)).encode("utf-8"))
temp.write((unico("%s\t%s\n" % (weight, path)).encode("utf-8")))
# catching disk errors and skipping save when file handle can't
# be closed.

Loading…
Cancel
Save