summaryrefslogtreecommitdiffstats
path: root/module/PluginManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r--module/PluginManager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/PluginManager.py b/module/PluginManager.py
index 29c01ce21..19dd5886f 100644
--- a/module/PluginManager.py
+++ b/module/PluginManager.py
@@ -31,6 +31,10 @@ from os.path import abspath
from sys import version_info
from itertools import chain
+try:
+ from ast import literal_eval
+except ImportError: # python 2.5
+ from module.SaveEval import save_eval as literal_eval
class PluginManager():
def __init__(self, core):