Merge 8cbe61bb66
into 86e78697fb
This commit is contained in:
commit
de298a908d
|
@ -0,0 +1,9 @@
|
|||
version = 1
|
||||
|
||||
[[analyzers]]
|
||||
name = "python"
|
||||
enabled = true
|
||||
|
||||
[analyzers.meta]
|
||||
runtime_version = "3.x.x"
|
||||
|
|
@ -19,7 +19,6 @@ Simplifictions and improvements through patches are more than welcome however :)
|
|||
|
||||
import json
|
||||
import os
|
||||
import pprint
|
||||
|
||||
fpath = os.path.join(os.path.dirname( __file__ ), '..', 'README.md')
|
||||
examples = []
|
||||
|
|
|
@ -78,7 +78,7 @@ with open("add_categories", "r") as f:
|
|||
while True:
|
||||
title = content.next()
|
||||
cat = content.next().strip()
|
||||
is_new = True if cat[-1]=="*" else False
|
||||
is_new = cat[-1]=="*"
|
||||
cat = cat.replace('*','')
|
||||
snips_by_title[title] = {
|
||||
"category": cat,
|
||||
|
|
Loading…
Reference in New Issue