Skip to content

Commit

Permalink
remove redundant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
semuadmin committed Jan 22, 2024
1 parent c9a4117 commit 1a44663
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pygpsclient/map_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ def _draw_static_map(self, lat: float, lon: float):
self._lastmaptype = "world"
w, h = self.width, self.height
self._can_mapview.delete("all")
self._img = ImageTk.PhotoImage(
Image.open(IMG_WORLD).resize((w, h)) # , Image.ANTIALIAS)
)
self._img = ImageTk.PhotoImage(Image.open(IMG_WORLD).resize((w, h)))
self._marker = ImageTk.PhotoImage(Image.open(ICON_POS))
self._can_mapview.create_image(0, 0, image=self._img, anchor=NW)
x = (w / 2) + int((lon * (w / 360))) + OFFSET_X
Expand Down

0 comments on commit 1a44663

Please sign in to comment.