Skip to content

Commit 56e7682

Browse files
committed
move return inside with
1 parent 32707a8 commit 56e7682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def serialize(self, data):
383383
try:
384384
with open(data, "rb") as data_file:
385385
data_file_info = data_file.read()
386-
return data_file_info
386+
return data_file_info
387387
except Exception as e:
388388
raise ValueError(f"Could not open/read file: {data}. {e}")
389389
if isinstance(data, bytes):

0 commit comments

Comments
 (0)