From c1ca2e63fe4e6aa14eac897e10751fdd933b34ef Mon Sep 17 00:00:00 2001 From: larsevj Date: Wed, 5 Jun 2024 15:04:40 +0200 Subject: [PATCH] Cast path object to str in run postinstall scripts --- komodo/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komodo/cli.py b/komodo/cli.py index 86611181..8a4b12bb 100755 --- a/komodo/cli.py +++ b/komodo/cli.py @@ -307,7 +307,7 @@ def run_post_installation_scripts_if_set( ) -> None: if postinst: timing_func = profile_time("Running post-install scripts") - timing_func(shell([postinst, release_path])) + timing_func(shell([postinst, str(release_path)])) @profile_time("Compile python bytecode files")