Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
1. Missed encoding string to binary
  • Loading branch information
SayakMukhopadhyay committed Jan 22, 2020
1 parent 5c5d586 commit c908934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion load.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
this.presence_state = _('In system {system}').format(system=system).encode()
this.presence_details = _('Docked at {station}').format(station=station).encode()
elif entry['event'] == 'Undocked':
this.presence_state = _('In system {system}').format(system=system)
this.presence_state = _('In system {system}').format(system=system).encode()
this.presence_details = _('Flying in normal space').encode()
elif entry['event'] == 'ShutDown':
this.presence_state = _('Connecting CMDR Interface').encode()
Expand Down

0 comments on commit c908934

Please sign in to comment.