From: Fredrik Tolf Date: Thu, 31 Dec 2015 03:35:17 +0000 (+0100) Subject: Fixed Python3 bug. X-Git-Url: http://www.dolda2000.com/gitweb/?p=automanga.git;a=commitdiff_plain;h=e02d1bb39a6270568afc00a41acd1f5ade3a76c3 Fixed Python3 bug. --- 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: