Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexarian committed Feb 27, 2025
1 parent 82b566f commit f43a5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypowerwall/api_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class ApiLockPool:
def __init__(self):
self._locks: DefaultDict[str, threading.Lock] = defaultdict(threading.Lock())
self._locks: DefaultDict[str, threading.Lock] = defaultdict(threading.Lock)
self._pool_lock = threading.Lock()

def get_lock(self, key: str) -> threading.Lock:
Expand Down

0 comments on commit f43a5d7

Please sign in to comment.