Skip to content

Commit 49551f9

Browse files
committed
fix: Ensure APP_PRIVATE_KEY is explicitly converted to string when provided as an argument
1 parent b8db3f1 commit 49551f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# get private key from args
66

77
if len(sys.argv) > 1:
8-
APP_PRIVATE_KEY = sys.argv[1]
8+
APP_PRIVATE_KEY = str(sys.argv[1])
99

1010
if APP_PRIVATE_KEY is None:
1111
print("Please provide the path to the private key file as an argument.")

0 commit comments

Comments
 (0)