Fixed Python3 bug.
authorFredrik Tolf <fredrik@dolda2000.com>
Thu, 31 Dec 2015 03:35:17 +0000 (04:35 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Thu, 31 Dec 2015 03:35:17 +0000 (04:35 +0100)
manga/profile.py

index ecfb354..cc0a4a1 100644 (file)
@@ -256,7 +256,7 @@ class profile(object):
             raise KeyError("no such manga: (%s, %s)" % (libnm, id))
         while True:
             try:
-                fp = openwdir(pj(self.dir, "%i.manga" % seq), "wx")
+                fp = openwdir(pj(self.dir, "%i.manga" % seq), "x")
             except IOError:
                 seq += 1
             else: