Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 57ac9263 authored by Qusai Al Shidi's avatar Qusai Al Shidi 💬
Browse files

Ensure text file opening of wdc

parent 7f32fddc
......@@ -35,7 +35,7 @@ def read_wdc_ae(wdc_filename):
'AU': {'times': [], 'values': []}}
# Open and make sure it is correct file
with open(wdc_filename) as wdc_file:
with open(wdc_filename, 'rt') as wdc_file:
header = wdc_file.readline()
assert header[:8] == 'AEALAOAU', \
'Does not seem to be a WDC AE file. First 8 chars: ' + header[:8]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment