From caadff09bc91c4d80076265de6134e68810824b0 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 21 Dec 2018 17:06:41 +0200 Subject: [PATCH] Fix warning about "Unknown upload protocol custom" --- builder/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/main.py b/builder/main.py index a7af5c5..4d7bbf8 100644 --- a/builder/main.py +++ b/builder/main.py @@ -330,7 +330,7 @@ elif upload_protocol in debug_tools: upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")] # custom upload tool -elif "UPLOADCMD" in env: +elif upload_protocol == "custom": upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")] else: