Skip to content

Commit 5557063

Browse files
authored
Fixed #55/56/57 alerts
1 parent f074109 commit 5557063

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

buggy_python_code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import sys
1+
import sys
22
import os
33
import yaml
44
import flask
@@ -53,8 +53,8 @@ def authenticate(password):
5353
print("3. Yaml deserialization vulnerability:")
5454
print("4. Use of assert statements vulnerability:")
5555
choice = input("Select vulnerability: ")
56-
if choice == "1":
57-
new_person = Person("Vickie")
56+
if choice == "1":
57+
new_person = Person("Vickie")
5858
print_nametag(input("Please format your nametag: "), new_person)
5959
elif choice == "2":
6060
urlib_version = input("Choose version of urllib: ")

0 commit comments

Comments
 (0)