]> git.dolda2000.com Git - automanga.git/commitdiff
Fixed bug with anonymous profile.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 12 May 2013 02:25:36 +0000 (04:25 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 12 May 2013 02:25:36 +0000 (04:25 +0200)
automanga

index e6435ccad109dcb4da526fbfaca39cad6a3214c2..0381786b830ef00871330c2ed29326d8165641cd 100755 (executable)
--- a/automanga
+++ b/automanga
@@ -70,9 +70,10 @@ else:
     else:
         mng = manga.local.manga(".")
 
+mprof = None if profile is None else profile.getmanga(libname, mng.id, True)
 if profile is not None:
     profile.setlast()
 
-reader = manga.reader.reader(mng, profile.getmanga(libname, mng.id, True))
+reader = manga.reader.reader(mng, mprof)
 reader.show()
 gtk.main()