mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-06 10:23:06 +03:00
Formatting
This commit is contained in:
parent
6e2c74eb5a
commit
6c640ea7fe
@ -119,7 +119,10 @@ If EDMC is started while the game is already running EDMC will send the last few
|
|||||||
```
|
```
|
||||||
def interaction(cmdr, entry):
|
def interaction(cmdr, entry):
|
||||||
# Log type of interaction, Cmdr name, and local time
|
# 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
|
### Getting Commander Data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user