mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-22 11:04:25 +01:00
Fix an error in the irrelevant code!
Fixes https://github.com/satwikkansal/wtfpython/issues/85
This commit is contained in:
parent
5484680721
commit
07861a045d
@ -80,6 +80,7 @@ with open("add_categories", "r") as f:
|
|||||||
}
|
}
|
||||||
content.next()
|
content.next()
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
|
pass
|
||||||
|
|
||||||
for idx, snip in enumerate(snippets):
|
for idx, snip in enumerate(snippets):
|
||||||
snippets[idx]["category"] = snips_by_title[snip["title"]]["category"]
|
snippets[idx]["category"] = snips_by_title[snip["title"]]["category"]
|
||||||
|
Loading…
Reference in New Issue
Block a user