From 1caa1dca5b81ef20ed4e5183bde5ff8d0c668f15 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sun, 12 May 2013 17:14:31 +0200 Subject: [PATCH] Canonize manga ID when setting aliases. --- automanga | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automanga b/automanga index 81d602d..fd9ce02 100755 --- a/automanga +++ b/automanga @@ -69,7 +69,7 @@ if alias and (alias.find('=') > 0): except KeyError: sys.stderr.write("automanga: no such manga: %s\n" % mid) sys.exit(1) - profile.setalias(alias, libname, mid) + profile.setalias(alias, libname, mng.id) sys.exit(0) if alias: -- 2.11.0