Skip to content

Commit

Permalink
fix default docstrings' type inconsistency (#11)
Browse files Browse the repository at this point in the history
* fix default docstrings' type inconsistency
* bump to version 0.4.7
  • Loading branch information
lanfon72 authored Jan 3, 2020
1 parent 26ed168 commit cac4777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aiohubot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from .plugins import EnterMessage, LeaveMessage, TopicMessage
from .robot import Robot, Blueprint

__version__ = '0.4.6'
__version__ = '0.4.7'
__all__ = ["Robot", "Blueprint", "Adapter", "TextMessage",
"EnterMessage", "LeaveMessage", "TopicMessage", "CatchAllMessage"]
2 changes: 1 addition & 1 deletion aiohubot/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def load_file(self, filepath):
if hasattr(module, "use"):
if callable(module.use):
module.use(self)
self.parse_help(module.__doc__)
self.parse_help(module.__doc__ or "")
else:
self.logger.warning(f"Expected `use` in {fpath} isn't callable.")
else:
Expand Down

0 comments on commit cac4777

Please sign in to comment.