merged backup dropbox file
This commit is contained in:
parent
076535d979
commit
9c02b81cdd
@ -86,8 +86,6 @@ def backup_to_dropbox():
|
||||
filename = os.path.join(get_base_path(), "public", "files")
|
||||
for filename in os.listdir(filename):
|
||||
found = False
|
||||
pth=path1+'/'+filename
|
||||
size=os.stat(pth).st_size
|
||||
for file_metadata in response["contents"]:
|
||||
if filename==os.path.basename(file_metadata["path"]):
|
||||
if os.stat(filename).st_size==file_metadata["bytes"]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user