File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,12 @@ def in_month(*allowed_months: Month) -> Callable:
111
111
def decorator (callable_ : Callable ) -> Callable :
112
112
# Functions decorated as commands are turned into instances of `Command`
113
113
if isinstance (callable_ , Command ):
114
- logging .debug (f"Command { callable_ .qualified_name } will be locked to { human_months (allowed_months )} " )
114
+ log .debug (f"Command { callable_ .qualified_name } will be locked to { human_months (allowed_months )} " )
115
115
actual_deco = in_month_command (* allowed_months )
116
116
117
117
# D.py will assign this attribute when `callable_` is registered as a listener
118
118
elif hasattr (callable_ , "__cog_listener__" ):
119
- logging .debug (f"Listener { callable_ .__qualname__ } will be locked to { human_months (allowed_months )} " )
119
+ log .debug (f"Listener { callable_ .__qualname__ } will be locked to { human_months (allowed_months )} " )
120
120
actual_deco = in_month_listener (* allowed_months )
121
121
122
122
# Otherwise we're unsure exactly what has been decorated
You can’t perform that action at this time.
0 commit comments