From 357fcc0bbd7e0ea6f7546d61c5223f1288b89517 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Tue, 30 Nov 2021 11:33:02 +0530 Subject: [PATCH] fix: Trailing slash not setting app name properly Re-do of https://github.com/frappe/bench/pull/1021, somewhat --- bench/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/app.py b/bench/app.py index 1b14947c9..9881b9afa 100755 --- a/bench/app.py +++ b/bench/app.py @@ -58,7 +58,7 @@ def __init__(self, name: str, branch: str = None, to_clone: bool = True): class Healthcare(AppConfig): dependencies = [{"frappe/erpnext": "~13.17.0"}] """ - self.name = name + self.name = name.rstrip('/') self.remote_server = "github.com" self.to_clone = to_clone self.on_disk = False