File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3205,7 +3205,7 @@ def set_local_folder_to_last_opened(self):
32053205 self .fetch_recent_local_dir_list ()
32063206
32073207 # Find the most recent directory that is still present
3208- local_path = None
3208+ local_path = ''
32093209 for dir in self .recent_local_dir_list :
32103210 if os .path .isdir (dir ):
32113211 local_path = dir
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ def build_pyinstaller_args(
7373 build_args += ["--icon" , f"{ ROOT_ASSETS_PATH .joinpath ('icon-src.ico' )} " ]
7474 logger .info (f"Add hidapi.dll binary: { ROOT_ASSETS_PATH .joinpath ('hidapi.dll' )} " )
7575 build_args += ["--add-binary" , f"{ ROOT_ASSETS_PATH .joinpath ('hidapi.dll' )} :." ]
76+ logger .info ("Add win32timezone to hidden imports" )
77+ build_args += ["--hiddenimport" , "win32timezone" ]
7678 else :
7779 logger .info (f"Output file icon: { ROOT_ASSETS_PATH .joinpath ('icon-src.png' )} " )
7880 build_args += ["--icon" , f"{ ROOT_ASSETS_PATH .joinpath ('icon-src.png' )} " ]
You can’t perform that action at this time.
0 commit comments