Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Fix TypeError: get_file() takes exactly 1 argument (2 given)#11

Open
tundebabzy wants to merge 1 commit intotechmaxsolucoes:masterfrom
tundebabzy:get-file-error2
Open

Fix TypeError: get_file() takes exactly 1 argument (2 given)#11
tundebabzy wants to merge 1 commit intotechmaxsolucoes:masterfrom
tundebabzy:get-file-error2

Conversation

@tundebabzy
Copy link
Contributor

The offending line is in api.py in line 135

print_content = b64encode(get_file("File", kwargs.get("filename"))[1])

@tundebabzy
Copy link
Contributor Author

@MaxMorais Have you had anytime to look at this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant