Skip to content

Commit 37a0287

Browse files
committed
fix: resolve undefined variable KUBESTRONAUT_RECEIVERS in AckKubestronautsReceived.py
The script stored the environment variable value in 'pwd' but referenced 'KUBESTRONAUT_RECEIVERS' which was undefined, causing a NameError at runtime. Renamed variable from 'pwd' to 'KUBESTRONAUT_RECEIVERS' to match usage. Signed-off-by: LALANI DEVARSHI <thelogical369@gmail.com>
1 parent 6ff6106 commit 37a0287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Kubestronaut/AckKubestronautsReceived.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
load_dotenv()
2121
# Store credentials
22-
pwd = os.getenv('KUBESTRONAUT_RECEIVERS')
22+
KUBESTRONAUT_RECEIVERS = os.getenv('KUBESTRONAUT_RECEIVERS')
2323

2424

2525
# Let's open the GoogleSheet to write Kubestronaut info + coupons

0 commit comments

Comments
 (0)