fix call to python module

master
Robert Scheinpflug 2016-01-29 18:21:43 +01:00
parent 68475197f4
commit 21168d1c1f
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ ApplicationWindow {
py.addImportPath(Qt.resolvedUrl('../src/pyPackages/pillow-i686')); py.addImportPath(Qt.resolvedUrl('../src/pyPackages/pillow-i686'));
} }
py.importModule('main',function(){ py.importModule('main',function(){
py.call("helloworld",[]) py.call("main.helloWorld",[])
pageStack.push(Qt.resolvedUrl("Main.qml")) pageStack.push(Qt.resolvedUrl("Main.qml"))
}) })
} }