mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Fix setup.py if/elif/else chain
This commit is contained in:
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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user