From 8b1be47f4d813da78ede22a276a84a7de9f26cc5 Mon Sep 17 00:00:00 2001 From: nillerusr Date: Tue, 23 May 2023 23:23:12 +0000 Subject: [PATCH] scripts: fix vpc_parser errror --- scripts/waifulib/vpc_parser.py | 3 +++ wscript | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/waifulib/vpc_parser.py b/scripts/waifulib/vpc_parser.py index b5ebca1c..b0b3eee5 100644 --- a/scripts/waifulib/vpc_parser.py +++ b/scripts/waifulib/vpc_parser.py @@ -90,6 +90,9 @@ def fix_dos_path( path ): if find_path == '': find_path = './' else: find_path += '/' + if not os.path.exists(find_path): + return find_path+filename + dirlist = os.listdir(find_path) for file in dirlist: if file == filename: diff --git a/wscript b/wscript index 4690d56d..d04bc604 100644 --- a/wscript +++ b/wscript @@ -61,7 +61,7 @@ projects={ 'serverbrowser', 'soundemittersystem', 'studiorender', - 'thirdparty/StubSteamAPI', + 'stub_steam', 'tier0', 'tier1', 'tier2', @@ -129,7 +129,7 @@ projects={ 'vpklib', 'vstdlib', 'vtf', - 'thirdparty/StubSteamAPI' + 'stub_steam' ] }