parent f37aa1ad
......@@ -23,6 +23,9 @@ def pinpoint(observer_dict, satellite_dict, timestamp=None):
returns:
Dictionary containing azimuth, altitude and "ok" for error detection.
"""
# pylint: disable=assigning-non-slot
# Disable until pylint 2.4 is released, see
# https://github.com/PyCQA/pylint/issues/2807
# observer object
if all(x in observer_dict for x in ['lat', 'lon', 'elev']):
LOGGER.debug('Observer data: %s', observer_dict)
......
......@@ -143,6 +143,9 @@ class WorkerTrack(Worker):
@staticmethod
def find_midpoint(observer_dict, satellite_dict, start):
# Workaround for https://github.com/brandon-rhodes/pyephem/issues/105
# pylint: disable=assigning-non-slot
# Disable until pylint 2.4 is released, see
# https://github.com/PyCQA/pylint/issues/2807
start -= timedelta(minutes=1)
observer = ephem.Observer()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment