mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-12-22 12:50:23 +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()
|
||||
except StopIteration:
|
||||
pass
|
||||
|
||||
for idx, snip in enumerate(snippets):
|
||||
snippets[idx]["category"] = snips_by_title[snip["title"]]["category"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user