Browse Source

CheckHTTP fall back to fail screen when no networking implementation available

Thomas Buck 1 year ago
parent
commit
0140877f92
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      net.py

+ 3
- 1
net.py View File

37
         else:
37
         else:
38
             if hasattr(self.failScreen, "child_count"):
38
             if hasattr(self.failScreen, "child_count"):
39
                 return self.failScreen.child_count(i)
39
                 return self.failScreen.child_count(i)
40
+        return True
40
 
41
 
41
     # Compatibility to Manager button events
42
     # Compatibility to Manager button events
42
     def switch_to(self, i, update_flag):
43
     def switch_to(self, i, update_flag):
88
 
89
 
89
     def finished(self):
90
     def finished(self):
90
         if self.get == None:
91
         if self.get == None:
91
-            return True
92
+            return self.failScreen.finished()
92
 
93
 
93
         self.request()
94
         self.request()
94
         if self.response:
95
         if self.response:
98
 
99
 
99
     def draw(self):
100
     def draw(self):
100
         if self.get == None:
101
         if self.get == None:
102
+            self.failScreen.draw()
101
             return
103
             return
102
 
104
 
103
         self.request()
105
         self.request()

Loading…
Cancel
Save