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' ] }