Fix setup.py if/elif/else chain

This commit is contained in:
Lonami Exo 2017-10-22 13:57:02 +02:00
parent b04eed82eb
commit 1f1e040af9

View File

@ -89,7 +89,7 @@ def main():
for x in ('build', 'dist', 'Telethon.egg-info'): for x in ('build', 'dist', 'Telethon.egg-info'):
rmtree(x, ignore_errors=True) rmtree(x, ignore_errors=True)
if len(argv) >= 2 and argv[1] == 'fetch_errors': elif len(argv) >= 2 and argv[1] == 'fetch_errors':
from telethon_generator.error_generator import fetch_errors from telethon_generator.error_generator import fetch_errors
fetch_errors(ERRORS_JSON) fetch_errors(ERRORS_JSON)