mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	PEP style fixes
This commit is contained in:
		| @@ -467,7 +467,7 @@ class BaseInvenTreeSetting(models.Model): | ||||
|         Check if this setting is a "choice" field | ||||
|         """ | ||||
|  | ||||
|         return self.__class__.get_setting_choices(self.key, **kwargs) != None | ||||
|         return self.__class__.get_setting_choices(self.key, **kwargs) is not None | ||||
|  | ||||
|     def as_choice(self, **kwargs): | ||||
|         """ | ||||
| @@ -489,7 +489,6 @@ class BaseInvenTreeSetting(models.Model): | ||||
|  | ||||
|         return self.value | ||||
|  | ||||
|  | ||||
|     def is_bool(self, **kwargs): | ||||
|         """ | ||||
|         Check if this setting is required to be a boolean value | ||||
|   | ||||
		Reference in New Issue
	
	Block a user