2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-10 11:15:27 +00:00

Use tab as value separator

This commit is contained in:
Dan
2017-12-15 12:25:46 +01:00
parent b90c1fe263
commit 562103c66d
6 changed files with 51 additions and 51 deletions

View File

@@ -74,7 +74,7 @@ def start():
with open("{}/source/{}".format(home, i)) as f_csv, \
open("{}/{}_{}.py".format(dest, name.lower(), code), "w") as f_class:
reader = csv.reader(f_csv, delimiter="|")
reader = csv.reader(f_csv, delimiter="\t")
super_class = caml(name)
name = " ".join([str(i.capitalize()) for i in re.sub(r"_", " ", name).lower().split(" ")])