Skip to content

Commit a498612

Browse files
author
Douglas Blank
committed
Version 2.6.1: cometx copy now opens git patch in binary mode
1 parent b09ae47 commit a498612

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cometx/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
# the express permission of Comet ML Inc.
1313
# *******************************************************
1414

15-
version_info = (2, 6, 0)
15+
version_info = (2, 6, 1)
1616
__version__ = ".".join(map(str, version_info))

cometx/cli/copy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ def log_git_metadata(self, experiment, filename):
15421542

15431543
def log_git_patch(self, experiment, filename):
15441544
if os.path.exists(filename):
1545-
with open(filename) as fp:
1545+
with open(filename, "rb") as fp:
15461546
git_patch = fp.read()
15471547

15481548
_, zip_path = compress_git_patch(git_patch)

0 commit comments

Comments
 (0)