mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-04-21 12:31:48 +00:00
Strip : in potential folder names
This commit is contained in:
+1
-1
@@ -221,7 +221,7 @@ class gibMacOS:
|
||||
self.resize()
|
||||
cwd = os.getcwd()
|
||||
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
||||
name = "{} - {} {}".format(prod["product"], prod["version"], prod["title"])
|
||||
name = "{} - {} {}".format(prod["product"], prod["version"], prod["title"]).replace(":","")
|
||||
if os.path.exists(os.path.join(os.getcwd(), self.saves, self.current_catalog, name)):
|
||||
while True:
|
||||
self.u.head("Already Exists")
|
||||
|
||||
Reference in New Issue
Block a user