Dolda2000 GitWeb
/
automanga.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.dolda2000.com:/srv/git/r/automanga
[automanga.git]
/
manga
/
local.py
diff --git
a/manga/local.py
b/manga/local.py
index
2d79b20
..
7e21a9b
100644
(file)
--- a/
manga/local.py
+++ b/
manga/local.py
@@
-1,5
+1,5
@@
import os
import os
-import lib
+
from .
import lib
pj = os.path.join
def decode1(nm):
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.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:
else:
- self.name = os.path.basename(path)
.decode("utf-8")
+ self.name = os.path.basename(path)
self.direct = self.destruct()
def __len__(self):
self.direct = self.destruct()
def __len__(self):