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:
# e.g. install from GitHub
if os.path.isfile(GENERATOR_DIR):
if os.path.isdir(GENERATOR_DIR):
generate(['tl', 'errors'])
# Get the long description from the README file