aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-09-09 17:31:21 -0700
committerGravatar MarkKoz <[email protected]>2020-09-09 17:31:21 -0700
commitfe08fd275d492637abc78071efe9441e7526e588 (patch)
tree1d03b3e1ae936211e8266f9a03fe1294ec0630bf
parentMove lock decorators to utils/lock.py (diff)
Fix attribute docstring for LockedResourceError
-rw-r--r--bot/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/errors.py b/bot/errors.py
index 34de3c2b1..65d715203 100644
--- a/bot/errors.py
+++ b/bot/errors.py
@@ -7,7 +7,7 @@ class LockedResourceError(RuntimeError):
Attributes:
`type` -- name of the locked resource's type
- `resource_id` -- ID of the locked resource
+ `id` -- ID of the locked resource
"""
def __init__(self, resource_type: str, resource_id: Hashable):