Skip to content

Commit

Permalink
scripts: fix vpc_parser errror
Browse files Browse the repository at this point in the history
  • Loading branch information
nillerusr committed May 23, 2023
1 parent ed901ea commit 8b1be47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions scripts/waifulib/vpc_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ projects={
'serverbrowser',
'soundemittersystem',
'studiorender',
'thirdparty/StubSteamAPI',
'stub_steam',
'tier0',
'tier1',
'tier2',
Expand Down Expand Up @@ -129,7 +129,7 @@ projects={
'vpklib',
'vstdlib',
'vtf',
'thirdparty/StubSteamAPI'
'stub_steam'
]
}

Expand Down

0 comments on commit 8b1be47

Please sign in to comment.