aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-python-loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-python-loader.c')
-rw-r--r--src/ephy-python-loader.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ephy-python-loader.c b/src/ephy-python-loader.c
index e6c8c5dc5..ff23bd7ce 100644
--- a/src/ephy-python-loader.c
+++ b/src/ephy-python-loader.c
@@ -44,7 +44,11 @@ impl_get_object (EphyLoader *eloader,
char *filename;
GObject *object;
- filename = g_datalist_get_data (attributes, "module");
+ filename = g_datalist_get_data (attributes, "Module");
+ if (filename == NULL)
+ {
+ filename = g_datalist_get_data (attributes, "module");
+ }
if (filename == NULL)
{
g_warning ("NULL module name!\n");