Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
fixed #533
Browse files Browse the repository at this point in the history
  • Loading branch information
r0oth3x49 committed Jul 24, 2020
1 parent ee6391b commit 4cb7e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion udemy/_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _write_external_links(self, filepath, unsafe=False):

file_data = []
if os.path.isfile(filename):
file_data = [i.strip().lower() for i in open(filename) if i]
file_data = [i.strip().lower() for i in open(filename, encoding='utf-8') if i]

try:
f = codecs.open(filename, 'a', encoding='utf-8', errors='ignore')
Expand Down

0 comments on commit 4cb7e83

Please sign in to comment.