mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-17 03:31:40 +08:00
Merge pull request #886 from MrGuoRanDuo/master
Fix: executable_path maybe None
This commit is contained in:
@@ -300,6 +300,7 @@ class AlasManager(DeployConfig):
|
|||||||
process_name = p.Properties_("Name").Value
|
process_name = p.Properties_("Name").Value
|
||||||
process_id = p.Properties_["ProcessID"].Value
|
process_id = p.Properties_["ProcessID"].Value
|
||||||
|
|
||||||
|
if executable_path is not None:
|
||||||
if process_name == name and process_id != self.self_pid:
|
if process_name == name and process_id != self.self_pid:
|
||||||
executable_path = executable_path.replace(r'\\', '/').replace('\\', '/')
|
executable_path = executable_path.replace(r'\\', '/').replace('\\', '/')
|
||||||
for folder in self.alas_folder:
|
for folder in self.alas_folder:
|
||||||
|
|||||||
Reference in New Issue
Block a user