Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Commit

Permalink
Fix Python glue for ages with dashes in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoikas committed Jan 31, 2016
1 parent 3299df9 commit 91e1fc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/plasma/glue.py
Expand Up @@ -56,13 +56,13 @@ def glue_getClass():
global glue_cl
if glue_cl == None:
try:
cl = eval(glue_name)
cl = globals()[glue_name]
if issubclass(cl,ptModifier):
glue_cl = cl
else:
if glue_verbose:
print "Class %s is not derived from modifier" % (cl.__name__)
except NameError:
except:
if glue_verbose:
try:
print "Could not find class %s" % (glue_name)
Expand Down

0 comments on commit 91e1fc9

Please sign in to comment.