diff options
Diffstat (limited to 'AllAboutData/utils.py')
-rw-r--r-- | AllAboutData/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AllAboutData/utils.py b/AllAboutData/utils.py index d5f36cf..af25735 100644 --- a/AllAboutData/utils.py +++ b/AllAboutData/utils.py @@ -5,7 +5,7 @@ import sys def whichOs(): ''' Returns "windows" if used os is windows. If not, returns "good" ''' - if sys.platform == "win32": + if sys.platform == "win32": return "windows" else: return "good" @@ -14,7 +14,7 @@ def deleteDataDir(): ''' Removes Data directory from working directroy ''' if whichOs() == "windows": - os.system("rmdir \s Data") + os.system("rmdir \\s Data") else: os.system("rm -r Data") @@ -23,7 +23,7 @@ def addDataDir(): ''' Adds data directory from working directroy ''' if whichOs() == "windows": - os.system("mkdir Data\Players") + os.system("mkdir Data\\Players") else: os.system("mkdir -p Data/Players") print("Created new empty Data directory") |