Commit 78d16c44 authored by Philipp Hörist's avatar Philipp Hörist

Register PEP module first

Other modules depend on it
parent bd79fe62
......@@ -28,7 +28,12 @@ for file in Path(__file__).parent.iterdir():
module = import_module('.%s' % file.stem, package='gajim.common.modules')
if hasattr(module, 'get_instance'):'Load module: %s', file.stem)
if file.stem == 'pep':
# Register the PEP module first, because other modules
# depend on it
imported_modules.insert(0, module)
class ModuleMock:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment