mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
scripts: fix vpc_parser errror
This commit is contained in:
parent
ed901ead1a
commit
8b1be47f4d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user