Skip to content

Commit 2a46c62

Browse files
committed
Fix a call to update_flet_view_version_info()
1 parent 725fdcc commit 2a46c62

File tree

1 file changed

+3
-3
lines changed
  • sdk/python/flet/cli/commands

1 file changed

+3
-3
lines changed

sdk/python/flet/cli/commands/pack.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,16 @@ def handle(self, options: argparse.Namespace) -> None:
106106
update_flet_view_version_info,
107107
)
108108

109-
exe_path = Path(hook_config.temp_bin_dir).joinpath(
110-
"flet", "flet.exe"
109+
exe_path = str(
110+
Path(hook_config.temp_bin_dir).joinpath("flet", "flet.exe")
111111
)
112112
if os.path.exists(exe_path):
113113
# icon
114114
if options.icon:
115115
icon_path = options.icon
116116
if not Path(icon_path).is_absolute():
117117
icon_path = str(Path(os.getcwd()).joinpath(icon_path))
118-
update_flet_view_icon(str(exe_path), icon_path)
118+
update_flet_view_icon(exe_path, icon_path)
119119

120120
# version info
121121
version_info_path = update_flet_view_version_info(

0 commit comments

Comments
 (0)