Fix bearings for Python 3

pull/32/head
Mark Jessop 2021-04-17 13:55:50 +09:30
rodzic aa827ebb8b
commit 21a411b54e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -223,7 +223,7 @@ class Bearings(object):
_removal_list = []
# Grab the list of bearing entries, and sort them by time
_bearing_list = self.bearings.keys()
_bearing_list = list(self.bearings.keys())
_bearing_list.sort()
# First remove any excess entries - we only get one bearing at a time, so we can do this simply: