mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 09:30:34 +00:00
Strip : in potential folder names
This commit is contained in:
parent
cfe17c0228
commit
c13f83a7db
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue