Skip to content

Commit 8b1be47

Browse files
committed
scripts: fix vpc_parser errror
1 parent ed901ea commit 8b1be47

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

scripts/waifulib/vpc_parser.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ def fix_dos_path( path ):
9090
if find_path == '': find_path = './'
9191
else: find_path += '/'
9292

93+
if not os.path.exists(find_path):
94+
return find_path+filename
95+
9396
dirlist = os.listdir(find_path)
9497
for file in dirlist:
9598
if file == filename:

wscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ projects={
6161
'serverbrowser',
6262
'soundemittersystem',
6363
'studiorender',
64-
'thirdparty/StubSteamAPI',
64+
'stub_steam',
6565
'tier0',
6666
'tier1',
6767
'tier2',
@@ -129,7 +129,7 @@ projects={
129129
'vpklib',
130130
'vstdlib',
131131
'vtf',
132-
'thirdparty/StubSteamAPI'
132+
'stub_steam'
133133
]
134134
}
135135

0 commit comments

Comments
 (0)