Skip to content

Commit

Permalink
fix: ignore jar file attachments
Browse files Browse the repository at this point in the history
fix #50
  • Loading branch information
vzhd1701 committed Sep 22, 2022
1 parent 5836f85 commit ce066cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enex2notion/note_parser/note_post_process_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def remove_banned_files(note_blocks, note: EvernoteNote):

def _is_banned_extension(filename):
file_ext = filename.split(".")[-1]
return file_ext in {"exe", "com", "js"}
return file_ext in {"exe", "com", "js", "jar"}

0 comments on commit ce066cc

Please sign in to comment.