Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
azhavoro committed Dec 11, 2023
1 parent 96ddcb0 commit 6575c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/engine/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def create_item():
slogger.glob.info(f'Starting to get chunk from cache: key {key}')
try:
item = self._cache.get(key)
except pickle.UnpicklingError as e:
except pickle.UnpicklingError:
slogger.glob.error(f'Unable to get item from cache: key {key}', exc_info=True)
item = None
slogger.glob.info(f'Ending to get chunk from cache: key {key}, is_cached {bool(item)}')
Expand Down

0 comments on commit 6575c0c

Please sign in to comment.