Skip to content

Commit

Permalink
File not found error for Python 2.7
Browse files Browse the repository at this point in the history
--DR
  • Loading branch information
CoherenceController committed Jun 10, 2016
1 parent d9a6221 commit 51fdce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/PatternUtils.py
Expand Up @@ -277,7 +277,7 @@ def flatten_pulses():
try:
with open(path + "-" + awg + ".offsets", "rb") as FID:
offsets = pickle.load(FID)
except FileNotFoundError:
except IOError:
print("Offset file not found for {}, skipping pulses {}".format(awg, [str(p) for p in ps.values()]))
continue
print("Updating pulses for {}".format(awg))
Expand Down

0 comments on commit 51fdce0

Please sign in to comment.