mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	make operators simpler
This commit is contained in:
		| @@ -389,7 +389,7 @@ class BuildReport(ReportTemplateBase): | ||||
|  | ||||
|         my_build = self.object_to_print | ||||
|  | ||||
|         if not type(my_build) == build.models.Build: | ||||
|         if type(my_build) != build.models.Build: | ||||
|             raise TypeError('Provided model is not a Build object') | ||||
|  | ||||
|         return { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user