summaryrefslogtreecommitdiff
path: root/xgpsspeed
diff options
context:
space:
mode:
Diffstat (limited to 'xgpsspeed')
-rwxr-xr-xxgpsspeed3
1 files changed, 3 insertions, 0 deletions
diff --git a/xgpsspeed b/xgpsspeed
index ab573ffb..e60482ac 100755
--- a/xgpsspeed
+++ b/xgpsspeed
@@ -7,6 +7,9 @@
#
# BSD terms apply: see the file COPYING in the distribution root for details.
+# This code runs under both Python 2 and Python 3. Preserve this property!
+from __future__ import division
+
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk