lang.py PEP8 improvements
This commit is contained in:
parent
f748395bda
commit
dc96b473cd
@ -5,6 +5,7 @@ import glob
|
||||
import sys
|
||||
import csv
|
||||
|
||||
|
||||
def get_lang(lang):
|
||||
out = {}
|
||||
for ln in open('./src/lang/%s.rs' % lang, encoding='utf8'):
|
||||
@ -14,6 +15,7 @@ def get_lang(lang):
|
||||
out[k] = v
|
||||
return out
|
||||
|
||||
|
||||
def line_split(line):
|
||||
toks = line.split('", "')
|
||||
if len(toks) != 2:
|
||||
|
Loading…
x
Reference in New Issue
Block a user