Remove percent sign from dashnames

This commit is contained in:
Zachary Talis 2021-06-25 23:40:11 -04:00
parent 3409128f27
commit 1c8c6da04b

View file

@ -10,7 +10,7 @@ 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_rules = input("Rules: ")
tk_category_dashname = tk_category_name.replace(" ", "_")
tk_category_dashname = tk_category_name.replace(" ", "_").replace("%", "")
categoryDict = {
"tk_category_dashname": tk_category_dashname,