Fix isfile should be isdir when pip installing locally

This commit is contained in:
Lonami Exo 2018-04-23 20:52:27 +02:00
parent ab91bc2829
commit e616af8a70

View File

@ -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