diff options
| author | 2021-01-11 04:59:25 +0100 | |
|---|---|---|
| committer | 2021-01-11 04:59:25 +0100 | |
| commit | 551c01e2537b036c17253d5cbfc4cfee6150cc4a (patch) | |
| tree | 9716ad057ac0da73ff637474786dcb2a535a672e | |
| parent | Make REFRESH_EVENT an instance variable (diff) | |
Return whitespace to its previous state
| -rw-r--r-- | bot/utils/lock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/lock.py b/bot/utils/lock.py index 978e3ae94..997c653a1 100644 --- a/bot/utils/lock.py +++ b/bot/utils/lock.py @@ -94,8 +94,8 @@ def lock(namespace: Hashable, resource_id: ResourceId, *, raise_error: bool = Fa log.info(f"{name}: aborted because resource {namespace!r}:{id_!r} is locked") if raise_error: raise LockedResourceError(str(namespace), id_) - return wrapper + return wrapper return decorator |