Changeset aa68798 for src


Ignore:
Timestamp:
Aug 7, 2019, 8:11:11 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
fc99a86
Parents:
aaaaa2e
Message:

Fixed Unbuffered Text I/O error occuring with python 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnuboat/bin/gnuboat-log-converter

    raaaaa2e raa68798  
    4343def convertToCsv(input_file_path, output_file_path, errors_ignore, checksums_fix, strip_time):
    4444    try:
    45         output_file = open(output_file_path, 'w', 0)
     45        output_file = open(output_file_path, 'w')
    4646    except IOError as error:
    4747        print('ERROR: Could not open the output file: {}'.format(error))
    … …  
    6363def convertToNmea0183(input_file_path, output_file_path, errors_ignore, checksums_fix, strip_time):
    6464    try:
    65         output_file = open(output_file_path, 'w', 0)
     65        output_file = open(output_file_path, 'w')
    6666    except IOError as error:
    6767        print('ERROR: Could not open the output file: {}'.format(error))
    … …  
    115115    for file_format in Format:
    116116      formats.append(file_format.name)
    117     print(formats)
    118117
    119118    parser = argparse.ArgumentParser(description='Convert gnuboat logfiles into other formats')
Note: See TracChangeset for help on using the changeset viewer.