summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/gerber/common.py')
-rw-r--r--gerbonara/gerber/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/common.py b/gerbonara/gerber/common.py
index f496809..12b87c4 100644
--- a/gerbonara/gerber/common.py
+++ b/gerbonara/gerber/common.py
@@ -36,7 +36,7 @@ def read(filename):
CncFile object representing the file, either GerberFile, ExcellonFile,
or IPCNetlist. Returns None if file is not of the proper type.
"""
- with open(filename, 'rU') as f:
+ with open(filename, 'r') as f:
data = f.read()
return loads(data, filename)