From 21a576ddea0ec6c6ff3ff95d2b4028b2c11eb494 Mon Sep 17 00:00:00 2001 From: Eric Walker Date: Thu, 5 Jan 2023 00:14:55 -0500 Subject: [PATCH] Accept Procfile path beginning with : --- piku.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piku.py b/piku.py index 0766958..c35c339 100755 --- a/piku.py +++ b/piku.py @@ -884,7 +884,7 @@ def spawn_app(app, deltas={}): # prepend static worker path if present if 'static' in workers: stripped = workers['static'].strip("/").rstrip("/") - static_paths = "/:" + (stripped if stripped else ".") + "/" + ("," if static_paths else "") + static_paths + static_paths = ("/" if stripped[0:1] == ":" else "/:") + (stripped if stripped else ".") + "/" + ("," if static_paths else "") + static_paths if len(static_paths): try: items = static_paths.split(',')