fixed a typo
This commit is contained in:
2
main.py
2
main.py
@@ -244,7 +244,7 @@ class Berry(App):
|
|||||||
code_editor.language = theme_mappings.get(file_extension, None)
|
code_editor.language = theme_mappings.get(file_extension, None)
|
||||||
code_editor.disabled = False
|
code_editor.disabled = False
|
||||||
except UnicodeDecodeError:
|
except UnicodeDecodeError:
|
||||||
code_editor.text = "This file is in binary, it can't be openned. Sorry."
|
code_editor.text = "This file is in binary, it can't be opened. Sorry."
|
||||||
code_editor.language = None
|
code_editor.language = None
|
||||||
code_editor.disabled = True
|
code_editor.disabled = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user