Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
Signed-off-by: Soldrion <78869992+Soldrion@users.noreply.github.com>
  • Loading branch information
Soldrion authored Mar 8, 2024
1 parent 1695b74 commit 98a3266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def cmd_processor(cmd):
screen_lines.append(f"Directory '{target_directory}' not found")


if cmd_split[0] not in command_list and cmd_split[0] not "sudo":
if cmd_split[0] not in command_list and cmd_split[0] not == "sudo":
screen_lines.append("Command not found.")
return

Expand Down

0 comments on commit 98a3266

Please sign in to comment.