Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Nov 14, 2021
1 parent 1b05bbc commit 7195fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/extract_log_entry.py
Expand Up @@ -15,7 +15,7 @@ def get_entry_slice(doc):
end_line = section.children[0].line - 2
break
header = section.children[0]
if current_version in header.rawsource:
if current_version in getattr(header, "rawsource", ""):
start_line = header.line - 2
return slice(start_line, end_line)

Expand Down

0 comments on commit 7195fa4

Please sign in to comment.