mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
Use correct import for piexif.helper
This commit is contained in:
@@ -203,6 +203,7 @@ class ExtraNetworksPage:
|
||||
|
||||
def get_exif(self, image: Image.Image):
|
||||
import piexif
|
||||
import piexif.helper
|
||||
try:
|
||||
exifinfo = image.getexif()
|
||||
if exifinfo is not None and len(exifinfo) > 0:
|
||||
|
||||
Reference in New Issue
Block a user