Skip to content

Commit

Permalink
Merge pull request #118 from AstuteSource/Datasette-publish-fix
Browse files Browse the repository at this point in the history
fix: Datasette-publish can now find the executable
  • Loading branch information
laurennevill authored Nov 21, 2023
2 parents cfd9801 + 0556015 commit c364ebf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chasten/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def start_datasette_server( # noqa: PLR0912, PLR0913
(
found_publish_platform_executable,
publish_platform_executable,
) = filesystem.can_find_executable(datasette_platform)
) = filesystem.can_find_executable(util.executable_name(datasette_platform))
# was not able to find the fly or vercel executable (the person using this
# program has to install separately, following the instructions for the
# datasette-publish-fly plugin) and thus need to exit and not proceed
Expand Down
1 change: 1 addition & 0 deletions chasten/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,7 @@ def datasette_publish( # noqa: PLR0913
datasette_metadata=metadata,
datasette_platform=datasette_platform.value,
publish=True,
OpSystem=util.get_OS(),
)


Expand Down

0 comments on commit c364ebf

Please sign in to comment.