dont import defaults.json
This commit is contained in:
parent
9b63c03ceb
commit
02e86d27aa
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ class Incoming(object):
|
|||
while True:
|
||||
for root, folders, files in os.walk(self.config['folder']):
|
||||
for f in files:
|
||||
if f == 'defaults.json':
|
||||
continue
|
||||
f = os.path.join(root, f)
|
||||
st = os.stat(f)
|
||||
if st.st_mtime < time.mktime(time.localtime()) - self.wait:
|
||||
|
|
Loading…
Reference in a new issue