X-Git-Url: http://dolda2000.com/gitweb/?p=automanga.git;a=blobdiff_plain;f=manga%2Fprofile.py;h=cc0a4a1dc69e618a2648662ce7165f9f557bca77;hp=ecfb3542cff889150b4202f7375d25834cfabc02;hb=e02d1bb39a6270568afc00a41acd1f5ade3a76c3;hpb=70ac0b4d4f78952a12006985e2b757b166a1f09b 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: