[fix] encode filename dropbox_settings.py, frappe/erpnext#7070
This commit is contained in:
parent
169ca90a1a
commit
c4296c71b1
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ def upload_file_to_dropbox(filename, folder, dropbox_client):
|
|||
from dropbox import rest
|
||||
size = os.stat(encode(filename)).st_size
|
||||
|
||||
with open(filename, 'r') as f:
|
||||
with open(encode(filename), 'r') as f:
|
||||
# if max packet size reached, use chunked uploader
|
||||
max_packet_size = 4194304
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue