Fix bucket key to not have the method in there.
This commit is contained in:
parent
078d1d71d8
commit
1c6c26ee38
@ -63,7 +63,7 @@ class Route:
|
|||||||
@property
|
@property
|
||||||
def bucket(self):
|
def bucket(self):
|
||||||
# the bucket is just method + path w/ major parameters
|
# the bucket is just method + path w/ major parameters
|
||||||
return '{0.method}:{0.channel_id}:{0.guild_id}:{0.path}'.format(self)
|
return '{0.channel_id}:{0.guild_id}:{0.path}'.format(self)
|
||||||
|
|
||||||
class MaybeUnlock:
|
class MaybeUnlock:
|
||||||
def __init__(self, lock):
|
def __init__(self, lock):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user