Commit 5641fd59 authored by Christian Hergert's avatar Christian Hergert

sphinx: fix invalid iteration of state

parent 9a5a183a
......@@ -116,7 +116,7 @@ class HtmlPreviewData(GObject.Object, Ide.ApplicationAddin):
assert HtmlPreviewData.MARKDOWN_VIEW_JS
def do_unload(self, app):
for state in sphinx_states.items():
for state in sphinx_states.values():
# Be extra sure that we are in the tmp dir
tmpdir = GLib.get_tmp_dir()
if state.builddir.startswith(tmpdir):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment