import json
import logging

from werkzeug.utils import import_string


logger = logging.getLogger(__name__)


def get_task(request):
    return json.dumps({})


def configure(self_settings):
    """
    Getting plugin's default settings, overwriting them with settings
    from local_settings.py, returns list of settings
    """
    try:
        local_settings = import_string('vulyk.local_settings')
        for attr in dir(local_settings):
            if attr in dir(self_settings):
                self_settings[attr] = getattr(local_settings, attr)
    except Exception as e:
        logger.warning(e)

    return self_settings

@@ -302,11 +302,11 @@
 rns 
-lis
+dic
 t of
@@ -319,24 +319,42 @@
 ngs%0A    %22%22%22%0A
+    settings = %7B%7D%0A
     try:%0A   
@@ -413,16 +413,114 @@
 tings')%0A
+        for attr in dir(self_settings):%0A            settings%5Battr%5D = getattr(self_settings, attr)%0A
         
@@ -611,21 +611,16 @@
         
-self_
 settings
@@ -723,21 +723,16 @@
  return 
-self_
 settings

Fix return format of plugin's settings