[presto] fix boot mode
This commit is contained in:
+1
-2
@@ -29,7 +29,6 @@ Setup:
|
||||
# ============================================================================
|
||||
|
||||
import gc
|
||||
import os
|
||||
import time
|
||||
import network
|
||||
import ntptime
|
||||
@@ -2717,5 +2716,5 @@ def main():
|
||||
# STARTUP
|
||||
# ============================================================================
|
||||
|
||||
if os.environ.get("PRESTO_TEST_MODE") != "1":
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user