🐛 Fixed pick history start error when empty
This commit is contained in:
@@ -47,7 +47,7 @@ class PickHistory(Sized):
|
|||||||
with self.timestamps_lock:
|
with self.timestamps_lock:
|
||||||
try:
|
try:
|
||||||
entry = self.timestamps[0]
|
entry = self.timestamps[0]
|
||||||
except KeyError:
|
except IndexError:
|
||||||
entry = time()
|
entry = time()
|
||||||
return entry
|
return entry
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user