Fixed getmanga property reading bug.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 15 May 2017 03:10:03 +0000 (05:10 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 15 May 2017 03:10:03 +0000 (05:10 +0200)
getmanga

index 9a4fa31..a2d3eca 100755 (executable)
--- a/getmanga
+++ b/getmanga
@@ -132,7 +132,7 @@ def main():
     props = {}
     if os.path.exists(pfile):
         with open(pfile, "r") as fp:
-            for words in splitlines(f):
+            for words in manga.profile.splitlines(fp):
                 if words[0] == "set" and len(words) > 2:
                     props[words[1]] = words[2]
                 elif words[0] == "lset" and len(words) > 1: