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