Skip to content

Commit

Permalink
Merge pull request #1420 from volatilityfoundation/issues/issue1417
Browse files Browse the repository at this point in the history
Automagic: Use a dummy ProgressCallback if None is supplied
  • Loading branch information
ikelos authored Jan 1, 2025
2 parents 9a4ec65 + c45beb3 commit e0869da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions volatility3/framework/automagic/symbol_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,13 @@ def update(self, progress_callback=None):
This also updates remote locations based on a cache timeout.
"""
if progress_callback is None:

def dummy_progress(*args, **kargs) -> None:
return None

progress_callback = dummy_progress

on_disk_locations = set(
[
filename
Expand Down

0 comments on commit e0869da

Please sign in to comment.