From b41310b92aad49e5335d78f34346f809d1bdebe3 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 9 Feb 2019 21:24:54 -0600 Subject: [PATCH] fix small bug with log paths --- Application/IW4MServer.cs | 2 +- GameLogServer/runserver.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/IW4MServer.cs b/Application/IW4MServer.cs index b747ae18..291ba8b6 100644 --- a/Application/IW4MServer.cs +++ b/Application/IW4MServer.cs @@ -771,7 +771,7 @@ namespace IW4MAdmin LogPath = Regex.Replace($"{Path.DirectorySeparatorChar}{LogPath}", @"[A-Z]:/", ""); } - if (!File.Exists(LogPath)) + if (!File.Exists(LogPath) && ServerConfig.GameLogServerUrl == null) { Logger.WriteError($"{LogPath} {loc["SERVER_ERROR_DNE"]}"); throw new ServerException($"{loc["SERVER_ERROR_LOG"]} {LogPath}"); diff --git a/GameLogServer/runserver.py b/GameLogServer/runserver.py index 19d21465..f5e31453 100644 --- a/GameLogServer/runserver.py +++ b/GameLogServer/runserver.py @@ -12,4 +12,4 @@ if __name__ == '__main__': except ValueError: PORT = 5555 init() - app.run(HOST, PORT, debug=False) + app.run('0.0.0.0', PORT, debug=False)