mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix isfile should be isdir when pip installing locally
This commit is contained in:
parent
ab91bc2829
commit
e616af8a70
2
setup.py
2
setup.py
|
@ -139,7 +139,7 @@ def main():
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# e.g. install from GitHub
|
# e.g. install from GitHub
|
||||||
if os.path.isfile(GENERATOR_DIR):
|
if os.path.isdir(GENERATOR_DIR):
|
||||||
generate(['tl', 'errors'])
|
generate(['tl', 'errors'])
|
||||||
|
|
||||||
# Get the long description from the README file
|
# Get the long description from the README file
|
||||||
|
|
Loading…
Reference in New Issue
Block a user