Fix dict.keys referenced when not iterating

This commit is contained in:
JoeLametta
2018-05-08 10:10:00 +00:00
parent f6d9f398b0
commit 71df9124a6

View File

@@ -329,7 +329,7 @@ class Program:
if not release and len(metadatas) > 1:
# Select the release that most closely matches the duration.
lowest = min(deltas.keys())
lowest = min(list(deltas))
if prompt:
guess = (deltas[lowest])[0].mbid