Strip : in potential folder names

This commit is contained in:
CorpNewt 2019-10-19 15:30:23 -05:00 committed by GitHub
parent cfe17c0228
commit c13f83a7db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -221,7 +221,7 @@ class gibMacOS:
self.resize() self.resize()
cwd = os.getcwd() cwd = os.getcwd()
os.chdir(os.path.dirname(os.path.realpath(__file__))) 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)): if os.path.exists(os.path.join(os.getcwd(), self.saves, self.current_catalog, name)):
while True: while True:
self.u.head("Already Exists") self.u.head("Already Exists")