From: Fredrik Tolf Date: Sun, 12 May 2013 15:14:31 +0000 (+0200) Subject: Canonize manga ID when setting aliases. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=1caa1dca5b81ef20ed4e5183bde5ff8d0c668f15;p=automanga.git Canonize manga ID when setting aliases. --- 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: