Default mode.
@@ -2,8 +2,8 @@ import gzip
import io
def gzip_reader(gzip_file):
- return io.TextIOWrapper(gzip.open(gzip_file, 'rt'), newline='')
+ return io.TextIOWrapper(gzip.open(gzip_file, 'r'), newline='')
def gzip_writer(gzip_file):
- return io.TextIOWrapper(gzip.open(gzip_file, 'wt'), newline='', write_through=True)
+ return io.TextIOWrapper(gzip.open(gzip_file, 'w'), newline='', write_through=True)
