Commit 8432ae58 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Correct .dcm header

parent 855c6a95
...@@ -167,7 +167,7 @@ class DocLib: ...@@ -167,7 +167,7 @@ class DocLib:
def commit(self): def commit(self):
with open(self.path, 'w') as f: with open(self.path, 'w') as f:
f.write('EESchema-DOCLIB Version 2.0\n') f.write('EESchema-DOCLIB Version 2.0\n')
f.write('#encoding utf-8\n') f.write('#\n')
for c in sorted(self.component): for c in sorted(self.component):
f.write(''.join(self.component[c])) f.write(''.join(self.component[c]))
f.write('#\n') f.write('#\n')
Supports Markdown
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