Dolda2000 GitWeb
/
automanga.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use setuptools instead of distutils for setup.py.
[automanga.git]
/
manga
/
profile.py
diff --git
a/manga/profile.py
b/manga/profile.py
index
cc0a4a1
..
2b7a15a
100644
(file)
--- a/
manga/profile.py
+++ b/
manga/profile.py
@@
-219,6
+219,12
@@
class filemanga(manga):
else:
f.write(consline("lset", key, *val) + "\n")
+ def mtime(self):
+ try:
+ return os.stat(self.path).st_mtime
+ except FileNotFoundError:
+ return 0
+
class profile(object):
def __init__(self, dir):
self.dir = dir