Fixed potential variable undefined errors

Former-commit-id: 65168e24ed228816d4089241d4086317488fd696
Former-commit-id: 5c46855d45488b2ec5fd8b53040237fc224b45d4
This commit is contained in:
2023-06-15 17:02:44 -04:00
parent 183582efbb
commit 5d0abb0537
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import re
from sys import argv, exit as s_exit
# read arguments
arguments = argv[1:]
arguments, replacement = argv[1:], None
# define replacement text depending on arguments
if len(arguments) > 0: