Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed server python startup: do not load qgis.user
  • Loading branch information
elpaso committed Aug 4, 2015
1 parent 573f28a commit 9aae680
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/python/qgspythonutilsimpl.cpp
Expand Up @@ -229,10 +229,7 @@ void QgsPythonUtilsImpl::initServerPython( QgsServerInterface* interface )
}
// This is the other main difference with initInterface() for desktop plugins
runString( "qgis.utils.initServerInterface(" + QString::number(( unsigned long ) interface ) + ")" );
if (!checkQgisUser()){
exitPython();
return;
}

doUserImports();
finish();
}
Expand Down

0 comments on commit 9aae680

Please sign in to comment.