projects
/
rnaseq-cwl-training.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Python scripts for Windows: UTF-8 encoding (#485)
[rnaseq-cwl-training.git]
/
bin
/
lesson_check.py
diff --git
a/bin/lesson_check.py
b/bin/lesson_check.py
index ee84d84999aa796c996f3f6a0eef0314604680e9..b76d35b716bb0b1e1b9e6468f2a78a246bb4df35 100644
(file)
--- a/
bin/lesson_check.py
+++ b/
bin/lesson_check.py
@@
-215,7
+215,7
@@
def read_references(reporter, ref_path):
result = {}
urls_seen = set()
- with open(ref_path, 'r') as reader:
+ with open(ref_path, 'r'
, encoding='utf-8'
) as reader:
for (num, line) in enumerate(reader, 1):
if P_INTERNAL_INCLUDE_LINK.search(line): continue