mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Fix setup.py if/elif/else chain
This commit is contained in:
parent
b04eed82eb
commit
1f1e040af9
2
setup.py
2
setup.py
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user