Fix PyLint 1.6 issues (#2471)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2016-07-07 18:54:16 -07:00
1 parent 978ebb9c59
commit 31b8e49ad2
7 files changed
+6 -7

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ class WelcomeData(object):
"""Return all module available on the API as a list."""
self.update()
if not self.home:
for home in self.welcomedata.cameras.keys():
for home in self.welcomedata.cameras:
for camera in self.welcomedata.cameras[home].values():
self.camera_names.append(camera['name'])
else: