This commit is contained in:
dickreckard 2014-05-27 22:56:11 +02:00
parent ddbd5842aa
commit 6022f00690

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')