fixed a typo

This commit is contained in:
SpookyDervish
2025-10-30 18:29:18 +11:00
parent 9b4fae5301
commit 6970ef4d11

View File

@@ -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