Skip to content

Commit

Permalink
Fix indexing error with *ave_val
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Haydon committed Jan 10, 2020
1 parent cc42730 commit 7b21e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Raspi/Test/MockSensor.py
Expand Up @@ -37,7 +37,7 @@ def get_value(self):
for mutliple sub values"""

if self.single_val:
return self.gen_single_value(self.ave_val)
return self.gen_single_value(self.ave_val[0])

else:
sensor_dict = {}
Expand Down

0 comments on commit 7b21e81

Please sign in to comment.