diff --git a/beamtime/xrd/io.py b/beamtime/xrd/io.py index aa9d09a..da45aad 100644 --- a/beamtime/xrd/io.py +++ b/beamtime/xrd/io.py @@ -260,10 +260,10 @@ def read_xy(data, options): with open(data['path'], 'r') as f: position = 0 - + current_line = f.readline() - while current_line[0] == '#' or "\'": + while current_line[0] == '#' or current_line[0] == '\'': position = f.tell() current_line = f.readline()