Fixed getmanga property reading bug.
[automanga.git] / 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: