From 8dc2a1c78a81491ddbc44f72f192f884dd99893d Mon Sep 17 00:00:00 2001 From: CorpNewt <12772521+corpnewt@users.noreply.github.com> Date: Sat, 28 Dec 2019 14:17:58 -0600 Subject: [PATCH] Remove leading/trailing spaces in name --- gibMacOS.command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gibMacOS.command b/gibMacOS.command index 52d68f1..847eb6b 100755 --- a/gibMacOS.command +++ b/gibMacOS.command @@ -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"]).replace(":","") + name = "{} - {} {}".format(prod["product"], prod["version"], prod["title"]).replace(":","").strip() if os.path.exists(os.path.join(os.getcwd(), self.saves, self.current_catalog, name)): while True: self.u.head("Already Exists")