Loading setup_eclipse.py +5 −5 Original line number Original line Diff line number Diff line #!/usr/bin/env python #!/usr/bin/env python3 # encoding: utf-8 # encoding: utf-8 from __future__ import print_function # from __future__ import print_function from __future__ import division # from __future__ import division ''' ''' # Copyright (C) 2017, Elphel.inc. # Copyright (C) 2017, Elphel.inc. Loading Loading @@ -189,7 +189,7 @@ The program will not overwrite or modify any existing workspace. for l in bin_str: for l in bin_str: data.append(ord(l)) data.append(ord(l)) ba=bytearray(data) ba=bytearray(data) with open(properties_index, 'w') as f: with open(properties_index, 'wb') as f: f.write(ba) f.write(ba) if __name__ == "__main__": if __name__ == "__main__": Loading Loading
setup_eclipse.py +5 −5 Original line number Original line Diff line number Diff line #!/usr/bin/env python #!/usr/bin/env python3 # encoding: utf-8 # encoding: utf-8 from __future__ import print_function # from __future__ import print_function from __future__ import division # from __future__ import division ''' ''' # Copyright (C) 2017, Elphel.inc. # Copyright (C) 2017, Elphel.inc. Loading Loading @@ -189,7 +189,7 @@ The program will not overwrite or modify any existing workspace. for l in bin_str: for l in bin_str: data.append(ord(l)) data.append(ord(l)) ba=bytearray(data) ba=bytearray(data) with open(properties_index, 'w') as f: with open(properties_index, 'wb') as f: f.write(ba) f.write(ba) if __name__ == "__main__": if __name__ == "__main__": Loading