Replace errant quotes
This commit is contained in:
parent
1c8c6da04b
commit
461ab417c2
3 changed files with 11 additions and 9 deletions
|
@ -7,8 +7,8 @@ divider = "----------"
|
||||||
|
|
||||||
print(f"\nWe'll ask for the name and rules of the new category.\n\n{divider}\n")
|
print(f"\nWe'll ask for the name and rules of the new category.\n\n{divider}\n")
|
||||||
|
|
||||||
tk_category_name = input("Name: ")
|
tk_category_name = input("Name: ").replace('"', "")
|
||||||
tk_category_rules = input("Rules: ")
|
tk_category_rules = input("Rules: ").replace('"', "")
|
||||||
|
|
||||||
tk_category_dashname = tk_category_name.replace(" ", "_").replace("%", "")
|
tk_category_dashname = tk_category_name.replace(" ", "_").replace("%", "")
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ existingRuns = util_csv.dictReaderMultiRow("../csv/runs.csv", "tk_run_id")
|
||||||
for id in existingRuns:
|
for id in existingRuns:
|
||||||
tk_run_id = int(id) + 1
|
tk_run_id = int(id) + 1
|
||||||
|
|
||||||
tk_run_runner = input("Runner: ")
|
tk_run_runner = input("Runner: ").replace('"', "")
|
||||||
tk_run_verifier = input("Verifier: ")
|
tk_run_verifier = input("Verifier: ").replace('"', "")
|
||||||
|
|
||||||
## Handle input of tk_run_duration ##
|
## Handle input of tk_run_duration ##
|
||||||
|
|
||||||
|
@ -84,8 +84,8 @@ print(f"You picked - {categoriesNew[categoryInput][displayName]}\n")
|
||||||
|
|
||||||
## End of: Handle input of tk_run_category_dashname ##
|
## End of: Handle input of tk_run_category_dashname ##
|
||||||
|
|
||||||
tk_run_date = input("Date (format - MM/DD/YYYY): ")
|
tk_run_date = input("Date (format - MM/DD/YYYY): ").replace('"', "")
|
||||||
tk_run_description = input("Description: ")
|
tk_run_description = input("Description: ").replace('"', "")
|
||||||
tk_run_link = input("Recording link (format - https://foo.bar): ")
|
tk_run_link = input("Recording link (format - https://foo.bar): ")
|
||||||
|
|
||||||
runDict = {
|
runDict = {
|
||||||
|
|
|
@ -9,10 +9,12 @@ print(
|
||||||
f"\nWelcome to paceboard! Let's set up your leaderboard site :)\nWe'll save this info in csv/config.csv\n\n{divider}\n"
|
f"\nWelcome to paceboard! Let's set up your leaderboard site :)\nWe'll save this info in csv/config.csv\n\n{divider}\n"
|
||||||
)
|
)
|
||||||
|
|
||||||
tk_game_name = input("Your game's name: ")
|
tk_game_name = input("Your game's name: ").replace('"', "")
|
||||||
tk_game_description = input("Description for your game: ")
|
tk_game_description = input("Description for your game: ").replace('"', "")
|
||||||
tk_url = input("URL of your site (format - foobar.com): ")
|
tk_url = input("URL of your site (format - foobar.com): ")
|
||||||
tk_logo_alt = input("Description of your game's logo (this is used for alt-text): ")
|
tk_logo_alt = input(
|
||||||
|
"Description of your game's logo (this is used for alt-text): "
|
||||||
|
).replace('"', "")
|
||||||
|
|
||||||
configDict = {
|
configDict = {
|
||||||
"tk_game_name": tk_game_name,
|
"tk_game_name": tk_game_name,
|
||||||
|
|
Loading…
Reference in a new issue