Skip to content

Commit 59dcac9

Browse files
committed
Typo
1 parent 2b7c2c8 commit 59dcac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meorg_client/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def _upload_file(
332332

333333
# Bail out
334334
else:
335-
dtype = type(f)
335+
dtype = type(file_obj)
336336
raise TypeError(f"File is neither path-like nor readable ({dtype}).")
337337

338338
# Prepare the payload from the files

0 commit comments

Comments
 (0)