mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 14:55:36 +03:00
String changes for missing path exception messages (#718)
Resolves #652
This commit is contained in:
parent
691ae9f8d4
commit
78d1c0f1cd
@ -71,7 +71,7 @@ class AMXXConfig(object):
|
||||
if len(hlsdk_path):
|
||||
self.hlsdk_path = os.path.join(builder.originalCwd, hlsdk_path)
|
||||
if not os.path.exists(self.hlsdk_path):
|
||||
raise Exception('Metamod path does not exist: {0}'.format(hlsdk_path))
|
||||
raise Exception('HLSDK path does not exist: {0}'.format(hlsdk_path))
|
||||
else:
|
||||
try_paths = [
|
||||
os.path.join(builder.sourcePath, '..', 'hlsdk'),
|
||||
@ -94,7 +94,7 @@ class AMXXConfig(object):
|
||||
if len(mysql_path):
|
||||
self.mysql_path = os.path.join(builder.originalCwd, mysql_path)
|
||||
if not os.path.exists(self.mysql_path):
|
||||
raise Exception('Metamod path does not exist: {0}'.format(mysql_path))
|
||||
raise Exception('MySQL path does not exist: {0}'.format(mysql_path))
|
||||
else:
|
||||
try_paths = [
|
||||
os.path.join(builder.sourcePath, '..', 'mysql-5.5'),
|
||||
|
Loading…
Reference in New Issue
Block a user