diff options
author | jomo <github@jomo.tv> | 2014-07-12 03:08:10 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-07-12 03:08:10 +0200 |
commit | 4b10679030ed7bd46930f8a1c7109e825cc11315 (patch) | |
tree | cc215536da3519789e79b3f4c2e5e2ed20d56fe0 /reports.py | |
parent | fafba7f5a6a1bb0b24f252c89c3fb18fe8f80e7c (diff) | |
parent | 3ad95035157e9b352623f2b75603170f96493a7b (diff) |
Merge branch 'dev' of bitbucket.org:redstonesheep/redstoner-utils into dev
Diffstat (limited to 'reports.py')
-rw-r--r-- | reports.py | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -97,15 +97,15 @@ def onReportCommand(sender, args): loc = sender.getLocation() reporter = sender.name report = { - 'player': reporter, - 'msg': text, - 'x': int(loc.x), - 'y': int(loc.y), - 'z': int(loc.z), - 'yaw': int(loc.yaw), - 'pitch': int(loc.pitch), - 'world': loc.getWorld().name, - 'time': time.strftime(time_format) + "player": reporter, + "msg": text, + "x": int(loc.x), + "y": int(loc.y), + "z": int(loc.z), + "yaw": int(loc.yaw), + "pitch": int(loc.pitch), + "world": loc.getWorld().name, + "time": time.strftime(time_format) } reports.append(report) saveReports() |