diff options
| author | 2019-11-15 13:59:09 +0000 | |
|---|---|---|
| committer | 2019-11-15 13:59:09 +0000 | |
| commit | 5d01db8514f9b06d2e478c0d86ffafe137093d5b (patch) | |
| tree | dba9d73f611e804bf02b6ea7146b0a392be41939 /modules/channel_op.py | |
| parent | dont expose has_magic/get_magic in utils/__init__.py, ref directly (diff) | |
move all datetime-related code from utils/__init__ to utils.datetime
Diffstat (limited to 'modules/channel_op.py')
| -rw-r--r-- | modules/channel_op.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py index a4ef250f..9d6d08d9 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -31,7 +31,7 @@ class Module(ModuleManager.BaseModule): if args and args[0][0] == "+": if len(args[1:]) < min_args: raise utils.EventError("Not enough arguments") - time = utils.from_pretty_time(args[0][1:]) + time = utils.datetime.from_pretty_time(args[0][1:]) if time == None: raise utils.EventError("Invalid timeframe") return time, args[1:] |
