Skip to content

Commit

Permalink
Fixed f-string issues in recording.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dhondta authored Jul 7, 2024
1 parent c6cb736 commit 2326b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sploitkit/base/commands/recording.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class RecordStatus(Command):
values = ["status"]

def run(self, status):
self.logger.info(f"Recording is {["disabled", "enabled"][self.recorder.enabled]}")
self.logger.info(f"Recording is {['disabled', 'enabled'][self.recorder.enabled]}")


# ------------------------------ ROOT-LEVEL COMMANDS ---------------------------
Expand All @@ -38,7 +38,7 @@ def run(self, key, rcfile=None):
elif key == "stop":
self.recorder.stop()
elif key == "status":
self.logger.info(f"Recording is {["disabled", "enabled"][self.recorder.enabled]}")
self.logger.info(f"Recording is {['disabled', 'enabled'][self.recorder.enabled]}")

def validate(self, key, rcfile=None):
if key == "start":
Expand Down

0 comments on commit 2326b63

Please sign in to comment.