Skip to content

Commit

Permalink
run ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDick committed Jul 23, 2024
1 parent fa62c3c commit 59897c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions modules/firmware_apps/poweroff.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async def run(self, render_update):
# Wait for an answer from the dialogue, and if it was yes, randomise colour
if await dialog.run(render_update):
import power

power.Off()
self.off = True
else:
Expand Down
1 change: 0 additions & 1 deletion modules/system/power/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

class PowerManager(App):
def __init__(self): ...


async def background_task(self):
while True:
Expand Down

0 comments on commit 59897c8

Please sign in to comment.