cleanup: remove unused assignation and if stmt
the function doesn't return anything (see function signature)
This commit is contained in:
		
							parent
							
								
									69aa190d9e
								
							
						
					
					
						commit
						a9ef90c04e
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -36,8 +36,4 @@ def loadAll(): | |||
| 
 | ||||
|         for files in shell.readdir(pluginDir): | ||||
|             if files.endswith(".py"): | ||||
|                 plugin = load(os.path.join(pluginDir, files)) | ||||
| 
 | ||||
|                 if plugin: | ||||
|                     _logger.info(f"Loaded plugin {plugin.name}") | ||||
|                     plugin.init() | ||||
|                 load(os.path.join(pluginDir, files)) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue