From 051e23968d94c94c4867b1f17e5c823bd964ec6e Mon Sep 17 00:00:00 2001 From: Jordan Koch Date: Fri, 29 Oct 2021 02:02:35 -0400 Subject: [PATCH] Trim trailing spaces on mntPath For the people that are dragging/dropping and failing to remove the trailing space --- ios_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios_install.py b/ios_install.py index 1616f01..c58165f 100644 --- a/ios_install.py +++ b/ios_install.py @@ -123,7 +123,7 @@ def getAnswer(text): getAnswer("Press enter once you are done or Ctrl+C to abort...") while True: - mntPath = getAnswer("Please enter the path where the dmg is mounted: ") + mntPath = getAnswer("Please enter the path where the dmg is mounted: ").rstrip() if not os.access(mntPath, os.F_OK): print("Mount path does not exist!") continue