anndl: Print raw names in choice list.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 22 Dec 2019 14:32:32 +0000 (15:32 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 22 Dec 2019 14:32:32 +0000 (15:32 +0100)
anndl

diff --git a/anndl b/anndl
index 8957d6e..9bda279 100755 (executable)
--- a/anndl
+++ b/anndl
@@ -13,7 +13,7 @@ def opentty():
 def choose(opts):
     tty.write("%d matches:\n" % (len(opts)))
     for i, anime in enumerate(opts):
 def choose(opts):
     tty.write("%d matches:\n" % (len(opts)))
     for i, anime in enumerate(opts):
-        tty.write("%d. %s\n" % (i + 1, anime.name))
+        tty.write("%d. %s\n" % (i + 1, anime.rawname))
     tty.write("> ")
     tty.flush()
     resp = tty.readline().strip()
     tty.write("> ")
     tty.flush()
     resp = tty.readline().strip()