X-Git-Url: http://dolda2000.com/gitweb/?p=automanga.git;a=blobdiff_plain;f=manga%2Flocal.py;h=7e21a9b54b8a845aba7697961d4d510250f56e9e;hp=2d79b20bd0fa05e331f8c43c57e574632eeb2484;hb=3cc7937cd91ec6d3cfb7eebcd4c1afd85c5a615a;hpb=9e49da7ac6d278f6ef92c28446f95bf3065a1d41 diff --git a/manga/local.py b/manga/local.py index 2d79b20..7e21a9b 100644 --- a/manga/local.py +++ b/manga/local.py @@ -1,5 +1,5 @@ import os -import lib +from . import lib pj = os.path.join def decode1(nm): @@ -95,9 +95,9 @@ class manga(lib.manga): self.stack = [] if os.path.exists(pj(self.path, "name")): with open(pj(self.path, "name")) as s: - self.name = s.readline().strip().decode("utf-8") + self.name = s.readline().strip() else: - self.name = os.path.basename(path).decode("utf-8") + self.name = os.path.basename(path) self.direct = self.destruct() def __len__(self):