Selaa lähdekoodia

fixed typo

The previous code was most probably a typo if i think.
pull/201/head
Ahmed Aeon Axan 11 vuotta sitten
vanhempi
commit
f7e98ea498
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      bin/autojump

+ 1
- 1
bin/autojump Näytä tiedosto

@ -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.

Ladataan…
Peruuta
Tallenna