Move data to its own subdirectory

This commit is contained in:
Lonami Exo 2018-04-14 18:20:29 +02:00
parent 0af4699994
commit 70f5af44de
5 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import sys
import json
import urllib.request
OUT = 'errors.json'
OUT = 'data/errors.json'
URL = 'https://rpc.pwrtelegram.xyz/?all'

View File

@ -2,11 +2,11 @@ from telethon_generator.parsers import parse_errors, parse_tl, find_layer
from telethon_generator.generators import generate_errors, generate_tlobjects
ERRORS_INPUT_JSON = 'errors.json'
ERRORS_INPUT_DESC = 'error_descriptions'
ERRORS_INPUT_JSON = 'data/errors.json'
ERRORS_INPUT_DESC = 'data/error_descriptions'
ERRORS_OUTPUT = '../telethon/errors/rpc_error_list.py'
TLOBJECT_INPUT_TL = 'scheme.tl'
TLOBJECT_INPUT_TL = 'data/scheme.tl'
TLOBJECT_OUTPUT = '../telethon/tl'