Compatibility: Support the old kwarg "module_filename" in emotion.
This commit is contained in:
parent
4e6d58301d
commit
80b554312a
|
@ -1 +1,8 @@
|
|||
import efl.emotion
|
||||
from efl.emotion import *
|
||||
|
||||
class Emotion(efl.emotion.Emotion):
|
||||
def __init__(self, *args, **kwargs):
|
||||
if "module_filename" in kwargs.keys():
|
||||
kwargs["module_name"] = kwargs.pop("module_filename")
|
||||
efl.emotion.Emotion.__init__(self, *args, **kwargs)
|
||||
|
|
Loading…
Reference in New Issue