From 21168d1c1ff899920ae33974a71292ba42f633e4 Mon Sep 17 00:00:00 2001 From: Robert Scheinpflug Date: Fri, 29 Jan 2016 18:21:43 +0100 Subject: [PATCH] fix call to python module --- qml/sailfish-python.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/sailfish-python.qml b/qml/sailfish-python.qml index 34037d0..879d6f4 100644 --- a/qml/sailfish-python.qml +++ b/qml/sailfish-python.qml @@ -16,7 +16,7 @@ ApplicationWindow { py.addImportPath(Qt.resolvedUrl('../src/pyPackages/pillow-i686')); } py.importModule('main',function(){ - py.call("helloworld",[]) + py.call("main.helloWorld",[]) pageStack.push(Qt.resolvedUrl("Main.qml")) }) }