Skip to content

Commit

Permalink
Fixed server python startup: do not load qgis.user
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.