Kaynağa Gözat

pico_ota wrong output path

Thomas Buck 10 ay önce
ebeveyn
işleme
0b9a93b2d4
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3
    3
      pico_ota.py

+ 3
- 3
pico_ota.py Dosyayı Görüntüle

@@ -209,7 +209,7 @@ class PicoOTA:
209 209
                 self.text.setText(commit[ 0 :  5], "bitmap6")
210 210
                 self.text.draw(0, 6 * 1, False)
211 211
 
212
-                self.text.fg = (0, 255, 255)
212
+                self.text.fg = (255, 0, 0)
213 213
                 self.text.setText("Write", "bitmap6")
214 214
                 self.text.draw(0, 6 * 2, False)
215 215
 
@@ -336,10 +336,10 @@ def pico_ota_run(ota):
336 336
         s.draw(0, 6 * 2, False)
337 337
 
338 338
         s.fg = (0, 255, 255)
339
-        s.setText(ota.exe_path[0 : 5], "bitmap6")
339
+        s.setText("camp_pico.py"[0 : 5], "bitmap6")
340 340
         s.draw(0, 6 * 3, False)
341 341
 
342
-        s.setText(ota.exe_path[5 : ], "bitmap6")
342
+        s.setText("camp_pico.py"[5 : ], "bitmap6")
343 343
         s.draw(0, 6 * 4, False)
344 344
 
345 345
         t.loop_end()

Loading…
İptal
Kaydet