diff --git a/Typograph.py b/Typograph.py index f3210ac..6c79d06 100644 --- a/Typograph.py +++ b/Typograph.py @@ -62,4 +62,5 @@ class TypographSelectionCommand(sublime_plugin.TextCommand): if key in DEFAULT_SETTINGS: local_settings[key] = project_settings[key] else: - print('{}: invalid key "{}" in project settings'.format(PLUGIN_NAME, key)) + msg = '{}: invalid key "{}" in project settings' + print(msg.format(PLUGIN_NAME, key)) diff --git a/lib/mdash.py b/lib/mdash.py index d57ddc9..7d7463f 100644 --- a/lib/mdash.py +++ b/lib/mdash.py @@ -15,7 +15,7 @@ class TypographError(RuntimeError): class Typograph(object): - def __init__(self, rules = None): + def __init__(self, rules=None): self.rules = self.__prepare_rules(rules) def process(self, text):