Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion v7/issue_role/issue_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def set_site(self, site):
"""Set Nikola site."""
self.site = site
roles.register_local_role('issue', IssueRole)
global ISSUE_URL
IssueRole.site = site
return super(Plugin, self).set_site(site)

Expand Down
2 changes: 1 addition & 1 deletion v7/latex/latex/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ def add_to_current_word(part):
current_word.parts.append(part)

def add_to_current_block(part):
nonlocal current_words, current_block
nonlocal current_block
flush_words()
if current_block is None:
current_block = tree.Block()
Expand Down
Loading