zulip_bot_output.py: Fix misnamed import.
Followup for the last commit.
This commit is contained in:
parent
bbf444c2bc
commit
18b92e5b46
|
@ -16,7 +16,7 @@ from mock import MagicMock, patch
|
||||||
|
|
||||||
from zulip_bots.lib import run_message_handler_for_bot, StateHandler
|
from zulip_bots.lib import run_message_handler_for_bot, StateHandler
|
||||||
from zulip_bots.provision import provision_bot
|
from zulip_bots.provision import provision_bot
|
||||||
from zulip_bots.run import import_module_from_source, name_and_patch_match
|
from zulip_bots.run import import_module_from_source, name_and_path_match
|
||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
usage = '''
|
usage = '''
|
||||||
|
@ -64,7 +64,7 @@ the bot handler class.
|
||||||
# checks if both of these are in sync, otherwise we'll
|
# checks if both of these are in sync, otherwise we'll
|
||||||
# have to be bias towards one and the user may get incorrect
|
# have to be bias towards one and the user may get incorrect
|
||||||
# result.
|
# result.
|
||||||
elif not name_and_patch_match(options.name, options.path_to_bot):
|
elif not name_and_path_match(options.name, options.path_to_bot):
|
||||||
error_message = """
|
error_message = """
|
||||||
Please make sure that the given name of the bot and the
|
Please make sure that the given name of the bot and the
|
||||||
given path to the bot are same and valid.
|
given path to the bot are same and valid.
|
||||||
|
|
Loading…
Reference in a new issue