Fix dictionary iteration methods

This commit is contained in:
JoeLametta
2018-05-02 08:40:00 +00:00
parent b6ac79f01e
commit a484815106
6 changed files with 15 additions and 15 deletions

View File

@@ -161,7 +161,7 @@ class ProgressParser:
# FIXME: doing this is way too slow even for a testcase, so disable
if False:
for frame in range(markStart, markEnd):
if frame not in self._reads.keys():
if frame not in list(self._reads.keys()):
self._reads[frame] = 0
self._reads[frame] += 1