mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-30 23:47:27 +03:00 
			
		
		
		
	Changed condition to use DEBUG as a boolean
This commit is contained in:
		
							parent
							
								
									59153f5e12
								
							
						
					
					
						commit
						1e6eac40fc
					
				|  | @ -854,7 +854,7 @@ class ImageFileDirectory_v2(MutableMapping): | ||||||
| 
 | 
 | ||||||
|         # pass 2: write entries to file |         # pass 2: write entries to file | ||||||
|         for tag, typ, count, value, data in entries: |         for tag, typ, count, value, data in entries: | ||||||
|             if DEBUG > 1: |             if DEBUG: | ||||||
|                 print(tag, typ, count, repr(value), repr(data)) |                 print(tag, typ, count, repr(value), repr(data)) | ||||||
|             result += self._pack("HHL4s", tag, typ, count, value) |             result += self._pack("HHL4s", tag, typ, count, value) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user