diff options
author | mkaay <mkaay@mkaay.de> | 2010-09-14 18:11:48 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-09-14 18:11:48 +0200 |
commit | 1b7194478742c7f1dc9753af4a477e74791ef65b (patch) | |
tree | f3e8236bcd47a650165c18fabf2a515f00d46092 | |
parent | packages editable (diff) | |
download | pyload-1b7194478742c7f1dc9753af4a477e74791ef65b.tar.xz |
resolved a python 2.5 issue
-rw-r--r-- | module/PluginManager.py | 4 |
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): |