This commit is contained in:
dickreckard 2014-05-27 22:53:19 +02:00
parent 0e587e93d7
commit 1013473d6b

View File

@ -59,7 +59,7 @@ class Meshenger:
if len(self.devices) > 0: if len(self.devices) > 0:
print 'found', len(self.devices),'device(s)' 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'/) 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') nodeupdatepath = os.path.join(self.ip_to_hash_path(device), 'lastupdate')