scripts: fix vpc_parser errror

This commit is contained in:
nillerusr 2023-05-23 23:23:12 +00:00
parent ed901ead1a
commit 8b1be47f4d
2 changed files with 5 additions and 2 deletions

View File

@ -90,6 +90,9 @@ def fix_dos_path( path ):
if find_path == '': find_path = './' if find_path == '': find_path = './'
else: find_path += '/' else: find_path += '/'
if not os.path.exists(find_path):
return find_path+filename
dirlist = os.listdir(find_path) dirlist = os.listdir(find_path)
for file in dirlist: for file in dirlist:
if file == filename: if file == filename:

View File

@ -61,7 +61,7 @@ projects={
'serverbrowser', 'serverbrowser',
'soundemittersystem', 'soundemittersystem',
'studiorender', 'studiorender',
'thirdparty/StubSteamAPI', 'stub_steam',
'tier0', 'tier0',
'tier1', 'tier1',
'tier2', 'tier2',
@ -129,7 +129,7 @@ projects={
'vpklib', 'vpklib',
'vstdlib', 'vstdlib',
'vtf', 'vtf',
'thirdparty/StubSteamAPI' 'stub_steam'
] ]
} }