From 1a44663f8fbba64b15994ba21133a2a345eaaf79 Mon Sep 17 00:00:00 2001 From: semuadmin <28569967+semuadmin@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:36:38 +0000 Subject: [PATCH] remove redundant comment --- src/pygpsclient/map_frame.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pygpsclient/map_frame.py b/src/pygpsclient/map_frame.py index 3c991023..779a1100 100644 --- a/src/pygpsclient/map_frame.py +++ b/src/pygpsclient/map_frame.py @@ -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