From e02d1bb39a6270568afc00a41acd1f5ade3a76c3 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 31 Dec 2015 04:35:17 +0100 Subject: [PATCH] Fixed Python3 bug. --- manga/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manga/profile.py b/manga/profile.py index ecfb354..cc0a4a1 100644 --- a/manga/profile.py +++ b/manga/profile.py @@ -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: -- 2.11.0