Skip to content

Commit

Permalink
remove changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Nov 3, 2023
1 parent e99695f commit 8eb82c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openatlas/views/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def insert_files(manager: BaseManager) -> Union[str, Response]:
path = app.config['UPLOAD_PATH'] / name
file.save(str(path))
if f'.{ext}' in g.display_file_ext:
call(['exiftran', '-ai', path]) # Fix rotation
call(f'exiftran -ai {path}', shell=True) # Fix rotation
filenames.append(name)
if g.settings['image_processing']:
resize_image(name)
Expand Down

0 comments on commit 8eb82c5

Please sign in to comment.