Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
posix to str
  • Loading branch information
choldgraf committed Feb 7, 2023
commit e431e8f649a8a159d9c9bb5d6e5402e0e66fef61
2 changes: 1 addition & 1 deletion sphinxext/opengraph/socialcards.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def create_social_card_objects(
axim_mini.imshow(img)

# Put the logo in the top right if it exists
if image and not image.endswith("svg"):
if image and not str(image).endswith("svg"):
img = mpimg.imread(image)
yw, xw = img.shape[:2]

Expand Down