Skip to content

Commit

Permalink
fix - remove gui.clear()
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored May 29, 2024
1 parent c9fcdae commit 26fb6fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,12 @@ def update_picture(self):
self.gui['lot'] = lon
self.gui["astronauts"] = astronauts["people"]
self.set_context("iss")
return image
except Exception as e:
self.log.exception(e)

@resting_screen_handler("ISS")
def idle(self, message):
self.update_picture() # values available in self.gui
self.gui.clear()
self.gui.show_image(self.gui['imgLink'], fill='PreserveAspectFit')

def generate_map(self, lat, lon):
Expand Down

0 comments on commit 26fb6fe

Please sign in to comment.