Skip to content

Commit

Permalink
Merge pull request #23 from jjjake/master
Browse files Browse the repository at this point in the history
Fixes #19 -- local files are deleted after successful upload to archive.org
  • Loading branch information
jjjake authored Jul 22, 2016
2 parents a78f8fc + 0f18098 commit 6d1b46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tubeup/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def upload_ia(videobasename, custom_meta=None):
# override default metadata with any supplemental metadata provided.
meta.update(custom_meta)

item.upload(vid_files, metadata=meta, retries=9001, request_kwargs=dict(timeout=9001))
item.upload(vid_files, metadata=meta, retries=9001, request_kwargs=dict(timeout=9001), delete=True)

# return item identifier and metadata as output
return itemname, meta
Expand Down

0 comments on commit 6d1b46c

Please sign in to comment.