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:
|
while True:
|
||||||
for root, folders, files in os.walk(self.config['folder']):
|
for root, folders, files in os.walk(self.config['folder']):
|
||||||
for f in files:
|
for f in files:
|
||||||
|
if f == 'defaults.json':
|
||||||
|
continue
|
||||||
f = os.path.join(root, f)
|
f = os.path.join(root, f)
|
||||||
st = os.stat(f)
|
st = os.stat(f)
|
||||||
if st.st_mtime < time.mktime(time.localtime()) - self.wait:
|
if st.st_mtime < time.mktime(time.localtime()) - self.wait:
|
||||||
|
|
Loading…
Reference in a new issue