diff src/plugins/plugin_blog_import.py @ 2396:66baa687c682

plugins tickets import, jp (ticket/import): implemented mapping: - mapping is an option allowing do map imported field to a specific field in the newly created item - importers can now use complexe data types in options using JSON
author Goffi <goffi@goffi.org>
date Fri, 27 Oct 2017 17:58:05 +0200
parents 2c2b826b0bb3
children 8b37a62336c3
line wrap: on
line diff
--- a/src/plugins/plugin_blog_import.py	Fri Oct 27 17:54:00 2017 +0200
+++ b/src/plugins/plugin_blog_import.py	Fri Oct 27 17:58:05 2017 +0200
@@ -54,6 +54,7 @@
 
 class BlogImportPlugin(object):
     BOOL_OPTIONS = (OPT_UPLOAD_IMAGES, OPT_IGNORE_TLS)
+    JSON_OPTIONS = ()
     OPT_DEFAULTS = {OPT_UPLOAD_IMAGES: True,
                     OPT_IGNORE_TLS: False}