diff --git a/src/action.py b/src/action.py index 9c17b437..4fddd9ff 100644 --- a/src/action.py +++ b/src/action.py @@ -206,10 +206,10 @@ def __init__(self, say, command): self.command = command def run(self, voice_command): - if (self.command == "shutdown"): + if self.command == "shutdown": self.say("Shutting down, goodbye") subprocess.call("sudo shutdown now", shell=True) - elif (self.command == "reboot"): + elif self.command == "reboot": self.say("Rebooting") subprocess.call("sudo shutdown -r now", shell=True) else: