Skip to content

Commit

Permalink
Merge pull request #41 from gutierri/pacth-fixs-python3
Browse files Browse the repository at this point in the history
fixs f-string to format
  • Loading branch information
tuxor1337 authored Apr 25, 2019
2 parents ff0a059 + f8d24bf commit 4da7347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/passff.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def sendMessage(encodedMessage):
elif receivedMessage[0] == "grepMetaUrls" and len(receivedMessage) == 2:
opt_args = ["grep", "-iE"]
url_field_names = receivedMessage[1]
pos_args = [f"^({'|'.join(url_field_names)}):"]
pos_args = ["^({}):".format('|'.join(url_field_names))]
elif receivedMessage[0] == "otp" and len(receivedMessage) == 2:
opt_args = ["otp"]
key = receivedMessage[1]
Expand Down

0 comments on commit 4da7347

Please sign in to comment.