Fixed decoding files to return strings instead of bytes
This commit is contained in:
parent
5bd757e875
commit
ea59242370
@ -1,3 +1,3 @@
|
|||||||
def return_credentials(path: str)->str:
|
def return_credentials(path: str)->str:
|
||||||
with open (path) as file:
|
with open (path) as file:
|
||||||
return file.read()
|
return file.read().strip()
|
||||||
Loading…
x
Reference in New Issue
Block a user