dont import defaults.json

This commit is contained in:
j 2014-09-24 12:44:25 +02:00
parent 9b63c03ceb
commit 02e86d27aa

View file

@ -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: