Skip to content

Commit 605f962

Browse files
committed
Travis fixes
1 parent 7d8ea3e commit 605f962

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

PyPortal_EZ_Make_Oven/code.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ def check_state(self):
217217
checktime += 5
218218
if not checkoven:
219219
# hold oven temperature
220-
if self.state in ("start", "preheat", "soak") and self.offtemp > self.sensor.temperature:
220+
if (self.state in ("start", "preheat", "soak") and
221+
self.offtemp > self.sensor.temperature):
221222
checkoven = True
222223
self.enable(checkoven)
223224

@@ -374,7 +375,7 @@ def draw_profile(graph, profile):
374375
# draw time line (horizontal)
375376
graph.draw_line(graph.xmin, graph.ymin, graph.xmax, graph.ymin, AXIS_SIZE, 4, 1)
376377
graph.draw_line(graph.xmin, graph.ymax - AXIS_SIZE, graph.xmax, graph.ymax
377-
- AXIS_SIZE, AXIS_SIZE, 4, 1)
378+
- AXIS_SIZE, AXIS_SIZE, 4, 1)
378379
# draw time ticks
379380
tick = graph.xmin
380381
while tick < (graph.xmax - graph.xmin):
@@ -385,7 +386,7 @@ def draw_profile(graph, profile):
385386
# draw temperature line (vertical)
386387
graph.draw_line(graph.xmin, graph.ymin, graph.xmin, graph.ymax, AXIS_SIZE, 4, 1)
387388
graph.draw_line(graph.xmax - AXIS_SIZE, graph.ymin, graph.xmax - AXIS_SIZE,
388-
graph.ymax, AXIS_SIZE, 4, 1)
389+
graph.ymax, AXIS_SIZE, 4, 1)
389390
# draw temperature ticks
390391
tick = graph.ymin
391392
while tick < (graph.ymax - graph.ymin)*1.1:

0 commit comments

Comments
 (0)