Commit 0aa8d3dd authored by Andrey Filippov's avatar Andrey Filippov

modified setup_eclipse.py for Python3

parent af110502
#!/usr/bin/env python
#!/usr/bin/env python3
# encoding: utf-8
from __future__ import print_function
from __future__ import division
# from __future__ import print_function
# from __future__ import division
'''
# Copyright (C) 2017, Elphel.inc.
......@@ -189,7 +189,7 @@ The program will not overwrite or modify any existing workspace.
for l in bin_str:
data.append(ord(l))
ba=bytearray(data)
with open(properties_index, 'w') as f:
with open(properties_index, 'wb') as f:
f.write(ba)
if __name__ == "__main__":
......
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