Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjansson committed Aug 27, 2012
1 parent f038154 commit 2c65509
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workers/s3_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
args = parser.parse_args()

remote = args.remote
remote = re.sub('^https://s3\.amazonaws\.com/andreasjansson/', '', remote)
remote = re.sub('^https:\/\/s3\.amazonaws\.com/andreasjansson/', '', remote)
print remote

tmp = s3_download('andreasjansson', args.remote)
tmp = s3_download('andreasjansson', remote)
os.rename(tmp, args.local)

0 comments on commit 2c65509

Please sign in to comment.