diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-06-28 00:10:52 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-06-28 00:10:52 +0100 |
commit | 3a24d883539309544b13825ce3ae6726416d6939 (patch) | |
tree | 20892c0d9652f1ec040e1a93d2d7bc47016ece60 /plugins/link.py | |
parent | a210303b0131a8f5f8fc6c3a2f905fdb76fd078e (diff) | |
download | poezio-3a24d883539309544b13825ce3ae6726416d6939.tar.gz poezio-3a24d883539309544b13825ce3ae6726416d6939.tar.bz2 poezio-3a24d883539309544b13825ce3ae6726416d6939.tar.xz poezio-3a24d883539309544b13825ce3ae6726416d6939.zip |
Make plugins import from the absolute poezio package.
Diffstat (limited to 'plugins/link.py')
-rw-r--r-- | plugins/link.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/link.py b/plugins/link.py index bca592a1..2c34232c 100644 --- a/plugins/link.py +++ b/plugins/link.py @@ -82,10 +82,10 @@ Options import platform import re -from plugin import BasePlugin -from xhtml import clean_text -import common -import tabs +from poezio.plugin import BasePlugin +from poezio.xhtml import clean_text +from poezio import common +from poezio import tabs url_pattern = re.compile(r'\b(http[s]?://(?:\S+))\b', re.I|re.U) app_mapping = { |