Commit 1e7ae137 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Substituted json with yaml

parent 16ce767d
......@@ -22,7 +22,7 @@ import imp
import logging
import traceback
import gevent
import json
import yaml
logger = logging.getLogger(__name__)
......@@ -203,7 +203,7 @@ class Senpy(object):
logger.debug("Loading plugin: {}".format(filename))
fpath = os.path.join(root, filename)
with open(fpath, 'r') as f:
info = json.load(f)
info = yaml.load(f)
logger.debug("Info: {}".format(info))
sys.path.append(root)
module = info["module"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment