aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-12-02 14:48:01 +0100
committerKarel Kočí <cynerd@email.cz>2015-12-02 14:48:01 +0100
commitb965c6e8d9ac5009a7a7f4c647e092289618e634 (patch)
treeafc9615717d35168c0e38fd16bb60a8daa8d5fcc
parent9f6d022b58f9b788e12d27b82dc53d58a6657e31 (diff)
downloadmcserver-wrapper-b965c6e8d9ac5009a7a7f4c647e092289618e634.tar.gz
mcserver-wrapper-b965c6e8d9ac5009a7a7f4c647e092289618e634.tar.bz2
mcserver-wrapper-b965c6e8d9ac5009a7a7f4c647e092289618e634.zip
Fix write to status file of starting status
Previously no new line was written and so no output was written to file.
-rwxr-xr-xmcwrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcwrapper b/mcwrapper
index 3b77992..b260d6f 100755
--- a/mcwrapper
+++ b/mcwrapper
@@ -99,7 +99,7 @@ def __server_start__():
global statusFile
statusFile = conf.status + '/status'
with open(statusFile, 'w') as f:
- f.write(__STATUSSTRINGS__[1])
+ f.write(__STATUSSTRINGS__[1] + '\n')
global playersFile
playersFile = conf.status + '/players'
with open(playersFile, 'w') as f: