Closed JMDirksen closed 4 years ago
py makeconfig.py -s D:\MyServerPath > config.json py update.py config.json Traceback (most recent call last): File "update.py", line 535, in 'showLastOnline': config.players.showLastOnline, AttributeError: 'RecursiveNamespace' object has no attribute 'showLastOnline'
"showLastOnline" gets put in "client" but expected in "players"
https://github.com/pdinklag/MinecraftStats/blob/1594010ecfed9bc5f1d3551a3d319d178ff63b9b/mcstats/config.py#L12 https://github.com/pdinklag/MinecraftStats/blob/1594010ecfed9bc5f1d3551a3d319d178ff63b9b/update.py#L535
Whoops, yeah, that's a mistake. Thanks a lot! 👍
py makeconfig.py -s D:\MyServerPath > config.json py update.py config.json Traceback (most recent call last): File "update.py", line 535, in
'showLastOnline': config.players.showLastOnline,
AttributeError: 'RecursiveNamespace' object has no attribute 'showLastOnline'
"showLastOnline" gets put in "client" but expected in "players"
https://github.com/pdinklag/MinecraftStats/blob/1594010ecfed9bc5f1d3551a3d319d178ff63b9b/mcstats/config.py#L12 https://github.com/pdinklag/MinecraftStats/blob/1594010ecfed9bc5f1d3551a3d319d178ff63b9b/update.py#L535