mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 11:23:46 +03:00
Move data to its own subdirectory
This commit is contained in:
parent
0af4699994
commit
70f5af44de
|
@ -2,7 +2,7 @@ import sys
|
||||||
import json
|
import json
|
||||||
import urllib.request
|
import urllib.request
|
||||||
|
|
||||||
OUT = 'errors.json'
|
OUT = 'data/errors.json'
|
||||||
URL = 'https://rpc.pwrtelegram.xyz/?all'
|
URL = 'https://rpc.pwrtelegram.xyz/?all'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@ from telethon_generator.parsers import parse_errors, parse_tl, find_layer
|
||||||
from telethon_generator.generators import generate_errors, generate_tlobjects
|
from telethon_generator.generators import generate_errors, generate_tlobjects
|
||||||
|
|
||||||
|
|
||||||
ERRORS_INPUT_JSON = 'errors.json'
|
ERRORS_INPUT_JSON = 'data/errors.json'
|
||||||
ERRORS_INPUT_DESC = 'error_descriptions'
|
ERRORS_INPUT_DESC = 'data/error_descriptions'
|
||||||
ERRORS_OUTPUT = '../telethon/errors/rpc_error_list.py'
|
ERRORS_OUTPUT = '../telethon/errors/rpc_error_list.py'
|
||||||
|
|
||||||
TLOBJECT_INPUT_TL = 'scheme.tl'
|
TLOBJECT_INPUT_TL = 'data/scheme.tl'
|
||||||
TLOBJECT_OUTPUT = '../telethon/tl'
|
TLOBJECT_OUTPUT = '../telethon/tl'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user