summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxgps3
1 files changed, 1 insertions, 2 deletions
diff --git a/xgps b/xgps
index a53c4e92..e00980f1 100755
--- a/xgps
+++ b/xgps
@@ -199,7 +199,7 @@ class SkyView(Gtk.DrawingArea):
# got a sat match under the mouse
# print((x, y))
if ((self.pop_xy[0] and self.pop_xy[1] and
- self.pop_xy == (int(x), int(y)))):
+ self.pop_xy == (int(x), int(y)))):
# popup already up here, ignore event
# print("(%d, %d)" % (x, y))
return
@@ -1104,7 +1104,6 @@ class Base(object):
(sys.argv[0], ver.proto_major, ver.proto_minor,
gps.api_major_version, gps.api_minor_version))
-
def _int_to_str(self, value, min_val, max_val):
"test val in range min to max, or return"
if min_val <= value <= max_val: