mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
scripts: fix vpc_parser errror
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user