plugin text syntaxes: changed import name to TEXT_SYNTAX (better with underscore for autocompletion)
This commit is contained in:
parent
604ff498da
commit
f1c0eca9ab
1 changed files with 18 additions and 18 deletions
|
|
@ -39,7 +39,7 @@ PLUGIN_INFO = {
|
|||
C.PI_NAME: "blog import",
|
||||
C.PI_IMPORT_NAME: "BLOG_IMPORT",
|
||||
C.PI_TYPE: (C.PLUG_TYPE_BLOG, C.PLUG_TYPE_IMPORT),
|
||||
C.PI_DEPENDENCIES: ["IMPORT", "XEP-0060", "XEP-0277", "TEXT-SYNTAXES", "UPLOAD"],
|
||||
C.PI_DEPENDENCIES: ["IMPORT", "XEP-0060", "XEP-0277", "TEXT_SYNTAXES", "UPLOAD"],
|
||||
C.PI_MAIN: "BlogImportPlugin",
|
||||
C.PI_HANDLER: "no",
|
||||
C.PI_DESCRIPTION: _(
|
||||
|
|
@ -66,7 +66,7 @@ class BlogImportPlugin(object):
|
|||
self._u = host.plugins["UPLOAD"]
|
||||
self._p = host.plugins["XEP-0060"]
|
||||
self._m = host.plugins["XEP-0277"]
|
||||
self._s = self.host.plugins["TEXT-SYNTAXES"]
|
||||
self._s = self.host.plugins["TEXT_SYNTAXES"]
|
||||
host.plugins["IMPORT"].initialize(self, u"blog")
|
||||
|
||||
def importItem(
|
||||
|
|
|
|||
Loading…
Reference in a new issue