Changes between Version 1 and Version 2 of Ticket #32718, comment 4


Ignore:
Timestamp:
May 5, 2021, 5:23:50 PM (4 years ago)
Author:
Phillip Marshall

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32718, comment 4

    v1 v2  
    66-     field.merged_map = ImageFile(f)
    77+     field.merged_map = ImageFile(f, name=os.path.basename(merged_path))
    8       field.save()
     8      field.save()  # raises SuspiciousFileOperation("File name '/tmp/merged.png' includes path elements") unless change is made on previous line
    99}}}
    1010
Back to Top