String changes for missing path exception messages (#718)
Resolves #652
This commit is contained in:
parent
295d09df8b
commit
dfd835eba5
|
@ -71,7 +71,7 @@ class AMXXConfig(object):
|
||||||
if len(hlsdk_path):
|
if len(hlsdk_path):
|
||||||
self.hlsdk_path = os.path.join(builder.originalCwd, hlsdk_path)
|
self.hlsdk_path = os.path.join(builder.originalCwd, hlsdk_path)
|
||||||
if not os.path.exists(self.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:
|
else:
|
||||||
try_paths = [
|
try_paths = [
|
||||||
os.path.join(builder.sourcePath, '..', 'hlsdk'),
|
os.path.join(builder.sourcePath, '..', 'hlsdk'),
|
||||||
|
@ -94,7 +94,7 @@ class AMXXConfig(object):
|
||||||
if len(mysql_path):
|
if len(mysql_path):
|
||||||
self.mysql_path = os.path.join(builder.originalCwd, mysql_path)
|
self.mysql_path = os.path.join(builder.originalCwd, mysql_path)
|
||||||
if not os.path.exists(self.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:
|
else:
|
||||||
try_paths = [
|
try_paths = [
|
||||||
os.path.join(builder.sourcePath, '..', 'mysql-5.5'),
|
os.path.join(builder.sourcePath, '..', 'mysql-5.5'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user