Skip to content

Commit

Permalink
Silence mypy error discussed here: python/mypy#2427
Browse files Browse the repository at this point in the history
  • Loading branch information
aqk committed Oct 4, 2022
1 parent 6c2b855 commit cd385cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chia/plotting/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(
self._lock = threading.Lock()
self._refresh_thread = None
self._refreshing_enabled = False
self._refresh_callback = refresh_callback
self._refresh_callback = refresh_callback # type: ignore[assignment]
self._initial = True

def __enter__(self):
Expand All @@ -83,7 +83,7 @@ def reset(self):
self._initial = True

def set_refresh_callback(self, callback: Callable):
self._refresh_callback = callback
self._refresh_callback = callback # type: ignore[assignment]

def set_public_keys(self, farmer_public_keys: List[G1Element], pool_public_keys: List[G1Element]):
self.farmer_public_keys = farmer_public_keys
Expand Down

0 comments on commit cd385cb

Please sign in to comment.