mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-22 18:11:21 +03:00
Removes un-necessary encode('utf-8')
This commit is contained in:
parent
fd4acae9a5
commit
0f38e3e824
@ -732,7 +732,7 @@ class EDLogs(FileSystemEventHandler):
|
||||
|
||||
# Export ship loadout as a Loadout event
|
||||
def export_ship(self, filename=None):
|
||||
string = json.dumps(self.ship(False), ensure_ascii=False, indent=2, separators=(',', ': ')).encode('utf-8') # pretty print
|
||||
string = json.dumps(self.ship(False), ensure_ascii=False, indent=2, separators=(',', ': ')) # pretty print
|
||||
|
||||
if filename:
|
||||
with open(filename, 'wt') as h:
|
||||
|
Loading…
x
Reference in New Issue
Block a user