From 6c640ea7febfa7fbb8ca394429d7474dcf51581d Mon Sep 17 00:00:00 2001 From: Jonathan Harris <jonathan@marginal.org.uk> Date: Wed, 5 Jul 2017 10:38:56 +0100 Subject: [PATCH] Formatting --- PLUGINS.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PLUGINS.md b/PLUGINS.md index 2a0b2d55..37e81aa3 100644 --- a/PLUGINS.md +++ b/PLUGINS.md @@ -119,7 +119,10 @@ If EDMC is started while the game is already running EDMC will send the last few ``` def interaction(cmdr, entry): # Log type of interaction, Cmdr name, and local time - sys.stderr.write("{} Cmdr {}\n".format(', '.join(entry['Interactions']), entry['Name'].encode('utf-8'), time.strftime('%Y-%m-%dT%H:%M:%S', time.localtime(entry['Epoch'] - 11644473600)))) + sys.stderr.write("{} Cmdr {} at {}\n".format(', '.join(entry['Interactions']), + entry['Name'].encode('utf-8'), + time.strftime('%Y-%m-%dT%H:%M:%S', + time.localtime(entry['Epoch'] - 11644473600)))) ``` ### Getting Commander Data