We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5702897 commit 8e0e6dfCopy full SHA for 8e0e6df
runner/start.py
@@ -1,6 +1,6 @@
1
#!/usr/bin/python3
2
3
-import os, sys
+import os, sys, shutil
4
import RPi.GPIO as GPIO
5
import json
6
import time
@@ -107,6 +107,9 @@ def __start_usercode(self):
107
108
pipe_fd = self.HOPPER_CLIENT.get_pipe_by_pipe_name(self.LOG_PIPE_NAME).fd
109
110
+ # Reload the image if possible
111
+ self.__load_start_graphic()
112
+
113
environment = dict(os.environ)
114
environment["PYTHONPATH"] = ROBOT_LIB_LOCATION
115
# Start the user code.
0 commit comments