From 02e86d27aa52f6b2efca5560f39e6b5378bf3f7b Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 24 Sep 2014 12:44:25 +0200 Subject: [PATCH] dont import defaults.json --- pandora_incoming.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_incoming.py b/pandora_incoming.py index 1d3321e..9a65939 100644 --- a/pandora_incoming.py +++ b/pandora_incoming.py @@ -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: