mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 11:32:30 +00:00
Fix isfile should be isdir when pip installing locally
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user