fixs f-string to format

This commit is contained in:
Gutierri Barboza 2019-04-24 19:18:16 -03:00
parent ff0a0596f7
commit f8d24bf48a
No known key found for this signature in database
GPG Key ID: 559063220EDC0F4F

View File

@ -73,7 +73,7 @@ if __name__ == "__main__":
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]