Skip to content

Commit b08b10e

Browse files
committed
fix(generator bux): fixes the raw_input error
1 parent a4cd7c2 commit b08b10e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

generator.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,25 @@
3939

4040
else:
4141
print("No config files found!\nRunning default script...")
42-
opt = int(raw_input("""
42+
opt = int(input("""
4343
what type of commit convention are you using?
4444
4545
default: Just the message
4646
1: Karma/Angular
4747
2: Conventional changelog
4848
3: Symfony CMF
49+
4950
""") or 4)
5051

5152
if opt == 1:
53+
print("You're using the angular convention")
5254
angular_convention()
5355
elif opt == 2:
54-
changelog_convention()
56+
print("You're using the changelog convention")
57+
changelog_convention()
5558
elif opt == 3:
59+
print("You're using the symphony convention")
5660
symphony_convention()
5761
elif opt == 4:
62+
print("You're not using a convention")
5863
just_message()

0 commit comments

Comments
 (0)