Changeset 138


Ignore:
Timestamp:
10/16/19 14:30:39 (5 years ago)
Author:
tim
Message:

fixed reference to legacy file() built-in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/bletchley-encode

    r40 r138  
    4848input_file = sys.stdin.buffer
    4949if options.input_file is not None:
    50     input_file = file(options.input_file, 'rb')
     50    input_file = open(options.input_file, 'rb')
    5151
    5252blob = input_file.read()
Note: See TracChangeset for help on using the changeset viewer.