Merge pull request #986 from raurodse/configurationPythonQt
Add configuration values into pythonqt modules
This commit is contained in:
commit
290559f8c1
@ -95,6 +95,9 @@ PythonQtViewModule::loadSelf()
|
||||
s_utils = new ::Utils( Calamares::JobQueue::instance()->globalStorage() );
|
||||
cala.addObject( "utils", s_utils );
|
||||
|
||||
// Append configuration object, in module PythonQt.calamares
|
||||
cala.addVariable("configuration", m_configurationMap);
|
||||
|
||||
// Basic stdout/stderr handling
|
||||
QObject::connect( PythonQt::self(), &PythonQt::pythonStdOut,
|
||||
[]( const QString& message )
|
||||
|
Loading…
Reference in New Issue
Block a user