mirror of
https://github.com/Astatin3/pymcstatus.git
synced 2026-06-09 00:28:02 -06:00
swapped over to json for output
If two servers were found at the same time, they might try to write to the xlsx file at the same time. this could corrupt the file. outputting to json, and just using another script to convert is much safer.
This commit is contained in:
@@ -6,5 +6,15 @@ Usage:
|
||||
Usage:
|
||||
srvstatus.py -p IP
|
||||
srvstatus.py -f inlist.txt
|
||||
srvstatus.py -f inlist.txt -o outfile.xlsx
|
||||
srvstatus.py -f inlist.txt -o outfile.json
|
||||
```
|
||||
|
||||
Then convert json to xlsx using:
|
||||
```
|
||||
json2xlsx.py infile.json outfile.xlsx
|
||||
```
|
||||
|
||||
Dependencies:
|
||||
```
|
||||
Pillow mcstatus openpyxl
|
||||
```
|
||||
Reference in New Issue
Block a user