Sanitize game path
This commit is contained in:
parent
e13548fbdc
commit
1139a3983c
@ -191,6 +191,7 @@ def main():
|
||||
while pathGame == "" or os.path.isdir(pathGame) == False:
|
||||
pathGame = filterDd(input("Path to game - you may drag & drop:\n"))
|
||||
|
||||
pathGame = pathGame.rstrip("/\\")
|
||||
pathMods = pathGame + " - umlMods"
|
||||
pathTemp = pathGame + " - umlTemp"
|
||||
pathOrig = pathGame + " - umlOriginal"
|
||||
@ -236,4 +237,4 @@ def main():
|
||||
if choice == "Open mod-folder": webbrowser.open("file://" +pathMods)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user