From 1013473d6bc03a52908c2db6ba725142b5634997 Mon Sep 17 00:00:00 2001 From: dickreckard Date: Tue, 27 May 2014 22:53:19 +0200 Subject: [PATCH] keyS!!! --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a331fdb..9a87447 100755 --- a/main.py +++ b/main.py @@ -59,7 +59,7 @@ class Meshenger: if len(self.devices) > 0: print 'found', len(self.devices),'device(s)' - for device in self.devices: + for device in self.devices.keys(): nodepath = self.ip_to_hash_path(device) #make a folder for the node (nodes/'hash'/) nodeupdatepath = os.path.join(self.ip_to_hash_path(device), 'lastupdate')