mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-31 15:47:25 +01:00 
			
		
		
		
	Fix plugin load if previous (re)load failed.
This commit is contained in:
		
							parent
							
								
									1a6d4b64d2
								
							
						
					
					
						commit
						3570acff72
					
				| @ -60,6 +60,7 @@ def loadPluginModule(name, ignoreDeprecation=False): | ||||
|         module = imp.load_module(name, *moduleInfo) | ||||
|     except: | ||||
|         sys.modules.pop(name, None) | ||||
|         sys.modules = filter(lambda x:not x.startwith(name + '.'), sys.modules) | ||||
|         raise | ||||
|     if 'deprecated' in module.__dict__ and module.deprecated: | ||||
|         if ignoreDeprecation: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Valentin Lorentz
						Valentin Lorentz