From 0289a9b61d54903e514e21800a89937b441c1a69 Mon Sep 17 00:00:00 2001 From: alanwatsonforster <68709385+alanwatsonforster@users.noreply.github.com> Date: Fri, 22 Sep 2023 18:39:40 -0600 Subject: [PATCH] Tweak format of position. --- airpower/aircraft.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airpower/aircraft.py b/airpower/aircraft.py index 73233185..a1b0a2d6 100644 --- a/airpower/aircraft.py +++ b/airpower/aircraft.py @@ -57,10 +57,10 @@ def _drawaircraft(self, when): apdraw.drawaircraft(self._x, self._y, self._facing, self._name, self._altitude, when) def _position(self): - return "%s %d %s" % ( + return "%-9s %-3s %2d" % ( aphexcode.fromxy(self._x, self._y), - self._altitude, - apazimuth.toazimuth(self._facing) + apazimuth.toazimuth(self._facing), + self._altitude ) def _report(self, s):