Skip to content

Commit

Permalink
fix pr
Browse files Browse the repository at this point in the history
  • Loading branch information
ebroecker committed Feb 13, 2021
1 parent 686a18f commit 5247f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyreqif/xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def write_excel_line(worksheet, item, row, cols, depth, basepath, format):
_, height = im.size
col_height += height
im.close()
worksheet.insert_image(row, cols.index(col), file, {'y_offset' : col_height-height}
worksheet.insert_image(row, cols.index(col), file, {'y_offset' : col_height-height})
except:
print("Error with image: {}".format(file))
worksheet.write_url(row, cols.index(col)+1, os.path.join(basepath,file), string="Link to picture")
Expand Down

0 comments on commit 5247f7c

Please sign in to comment.