Skip to content

Commit

Permalink
fix location check in download-test-data script
Browse files Browse the repository at this point in the history
  • Loading branch information
yannvgn committed Dec 19, 2019
1 parent dbf6972 commit bcf6097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion laserembeddings/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def main():
repository_root = os.path.dirname(
os.path.dirname(os.path.realpath(__file__)))

if os.path.basename(repository_root) != 'laserembeddings':
if not os.path.isfile(os.path.join(repository_root, 'pyproject.toml')):
print(
f"{CONSOLE_ERROR} Looks like you're not running laserembeddings from its source code"
)
Expand Down

0 comments on commit bcf6097

Please sign in to comment.