browser plugin created

This commit is contained in:
Volkan Şahin 2016-04-01 14:57:06 +03:00
parent 80079685b5
commit 2729daa0c2

View file

@ -92,7 +92,8 @@ class PluginManager(object):
return None
def processPolicy(self, policy):
user_profiles = policy.user_profiles
#TODO user and ahenk
user_profiles = policy.ahenk_profiles
for profile in user_profiles:
try:
plugin = profile.plugin
@ -103,7 +104,6 @@ class PluginManager(object):
print("Exception occured..")
self.logger.error("Policy profile not processed " + str(profile.plugin.name))
def checkPluginExists(self, plugin_name, version=None):
criteria = ' name=\''+plugin_name+'\''