From 6022f006908146d4e2914b511ad1d67ac7fba9a5 Mon Sep 17 00:00:00 2001 From: dickreckard Date: Tue, 27 May 2014 22:56:11 +0200 Subject: [PATCH] keys| --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index c9d1d2d..3dbd242 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')