Commit 24194f30 authored by Félix Hartmann's avatar Félix Hartmann
Browse files

[bugfix] Change in a comment regarding the previous bugfix.

parent 15e4cb11
......@@ -331,8 +331,8 @@ class ControlPanel(HasTraits):
with open(file_name, 'w') as f:
json.dump(self, f, indent=4, default=self.json_codec.coder)
# In Python 2.x, the 'encoding' param defaults to 'utf-8'.
# In Python 3.x, the 'encoding' param does not exist anylonger.
# Ergo, I removed "encoding='utf-8'" from json.dumps call.
# In Python 3.x, the 'encoding' param does not exist anymore.
# Ergo, I removed "encoding='utf-8'" from the call to json.dumps.
def _load_settings_fired(self):
"""Callback of the "load settings" button.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment