Skip to content

Commit

Permalink
Change range
Browse files Browse the repository at this point in the history
  • Loading branch information
chbrun committed Mar 29, 2015
1 parent 1afce0d commit c00ab7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/plugins/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def route(self):
return '/rest/robot'

def get(self):
temperature = random()*6+17
return {'temperature' : '%0.2f' % temperature}
temperature = random()*100
return {'temperature' : '%d' % int(temperature)}

0 comments on commit c00ab7c

Please sign in to comment.