df89
29.06.21 37d983ee51441a1e0da64fefad0d12b88502215a
fix: Surrounding whitespace deleted from input
1 Dateien geändert
6 ■■■■ Geänderte Dateien
oop_changelog_scope.py 6 ●●●● Patch | Ansicht | Raw | Blame | Historie
oop_changelog_scope.py
@@ -135,10 +135,10 @@
#### Main ####
inputPath = input("Please enter the base path of the repository: ")
userDecision = input("Should the generated changelog be stored in another location (y/n)? ").lower()
inputPath = input("Please enter the base path of the repository: ").strip()
userDecision = input("Should the generated changelog be stored in another location (y/n)? ").lower().strip()
if userDecision == "y":
    outputPath = (input("Please enter the output path: "))
    outputPath = input("Please enter the output path: ").strip()
elif userDecision == "n":
    print("The changelog will be stored in the same location as the repository.")
    outputPath = inputPath