Changes between Version 1 and Version 2 of Ticket #32718, comment 4
- Timestamp:
- May 5, 2021, 5:23:50 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32718, comment 4
v1 v2 6 6 - field.merged_map = ImageFile(f) 7 7 + 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 9 9 }}} 10 10