Skip to content

Commit

Permalink
Add missing decode call
Browse files Browse the repository at this point in the history
  • Loading branch information
canihavesomecoffee committed May 20, 2018
1 parent b067d4c commit 9c40fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod_upload/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def ftp_filezilla():
host=config.get('SERVER_NAME', ''),
port=config.get('FTP_PORT', ''),
username=credentials.user_name,
password=base64.b64encode(credentials.password.encode())
password=base64.b64encode(credentials.password.encode()).decode()
)
)
response.headers['Content-Description'] = 'File Transfer'
Expand Down

0 comments on commit 9c40fde

Please sign in to comment.