Changed single quotes to double quotes
This commit is contained in:
18
reports.py
18
reports.py
@@ -97,15 +97,15 @@ def onReportCommand(sender, args):
|
|||||||
loc = sender.getLocation()
|
loc = sender.getLocation()
|
||||||
reporter = sender.name
|
reporter = sender.name
|
||||||
report = {
|
report = {
|
||||||
'player': reporter,
|
"player": reporter,
|
||||||
'msg': text,
|
"msg": text,
|
||||||
'x': int(loc.x),
|
"x": int(loc.x),
|
||||||
'y': int(loc.y),
|
"y": int(loc.y),
|
||||||
'z': int(loc.z),
|
"z": int(loc.z),
|
||||||
'yaw': int(loc.yaw),
|
"yaw": int(loc.yaw),
|
||||||
'pitch': int(loc.pitch),
|
"pitch": int(loc.pitch),
|
||||||
'world': loc.getWorld().name,
|
"world": loc.getWorld().name,
|
||||||
'time': time.strftime(time_format)
|
"time": time.strftime(time_format)
|
||||||
}
|
}
|
||||||
reports.append(report)
|
reports.append(report)
|
||||||
saveReports()
|
saveReports()
|
||||||
|
|||||||
Reference in New Issue
Block a user