mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 03:02:16 +03:00
minor bug fix solved
This commit is contained in:
parent
e167dad890
commit
3d350cff3b
1 changed files with 12 additions and 10 deletions
|
@ -183,6 +183,8 @@ class PluginManager(object):
|
|||
self.logger.info('[PluginManager] Working on Ahenk profiles...')
|
||||
for agent_profile in ahenk_profiles:
|
||||
same_plugin_profile = None
|
||||
|
||||
if user_profiles is not None:
|
||||
for usr_profile in user_profiles:
|
||||
if usr_profile.plugin.name == agent_profile.plugin.name:
|
||||
same_plugin_profile = usr_profile
|
||||
|
|
Loading…
Reference in a new issue