diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index 7b75ba0b71..0963248018 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -455,7 +455,7 @@ class AutoTest(ABC): self.mavproxy.expect("Finished downloading", timeout=timeout) self.wait_heartbeat() self.wait_heartbeat() - if upload_logs and not os.getenv("AUTOTEST_NO_UPLOAD"): + if upload_logs and os.getenv("AUTOTEST_UPLOAD"): # optionally upload logs to server so we can see travis failure logs import datetime import glob