Dolda2000 GitWeb
/
automanga.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved main-script structure slightly.
[automanga.git]
/
manga
/
profile.py
diff --git
a/manga/profile.py
b/manga/profile.py
index
e8414a1
..
27bf86e
100644
(file)
--- a/
manga/profile.py
+++ b/
manga/profile.py
@@
-196,6
+196,9
@@
class profile(object):
for nm, (libnm, id) in map.iteritems():
f.write(consline("alias", nm, libnm, id) + "\n")
for nm, (libnm, id) in map.iteritems():
f.write(consline("alias", nm, libnm, id) + "\n")
+ def file(self, name, mode="r"):
+ return openwdir(pj(self.dir, name), mode)
+
def getalias(self, nm):
return self.getaliases()[nm]
def getalias(self, nm):
return self.getaliases()[nm]