From 249e71e43cc628e2475a528bc6f2977701f72e00 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Mon, 31 Jul 2017 15:31:21 +0100 Subject: [PATCH] Fix sending to EDDN Was broken by d4dddb6 --- EDMC.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/EDMC.py b/EDMC.py index c41729e2..2b9f7bc3 100755 --- a/EDMC.py +++ b/EDMC.py @@ -174,9 +174,10 @@ try: if args.n: try: - eddn.export_commodities(data) - eddn.export_outfitting(data) - eddn.export_shipyard(data) + eddn_sender = eddn.EDDN(None) + eddn_sender.export_commodities(data, False) + eddn_sender.export_outfitting(data, False) + eddn_sender.export_shipyard(data, False) except Exception as e: sys.stderr.write("Failed to send data to EDDN: %s\n" % unicode(e).encode('ascii', 'replace'))