Permalink
Browse files

Address changes in py-efl

Epad lost the ability to open empty files as reported on forums
  • Loading branch information...
rbtylee committed Feb 6, 2018
1 parent 71a0477 commit 1c61759610c98f65b7d1c71d2de01597524c6959
Showing with 1 addition and 1 deletion.
  1. +1 −1 epad
View
2 epad
@@ -741,7 +741,7 @@ class ePadEntry(Box):
def openFile(self, filePath):
try:
self.mainEn.file_set(filePath, ELM_TEXT_FORMAT_PLAIN_UTF8)
except RuntimeError as msg:
except (RuntimeWarning, RuntimeError) as msg:
pass
self.isNewFile = False
#Reset undo/redo tracks when we open a file

0 comments on commit 1c61759

Please sign in to comment.