Skip to content

Commit ac6bd61

Browse files
committed
Remove extra comments in download.py
1 parent 21e328b commit ac6bd61

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

frameioclient/download.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ def __init__(self, asset, download_folder):
88
self.download_folder = download_folder
99

1010
def download(self):
11-
# TODO add test to chere here to make sure the URL we download is coming from our S3 buckets
12-
# Grab the filename from the passed dictionary and store it.
1311
original_filename = self.asset['name']
1412
final_destination = os.path.join(self.download_folder, original_filename)
1513

16-
# Grab the origial_url from the passed dictionary, then download the file
1714
url = self.asset['original']
1815
r = requests.get(url)
16+
1917
open(final_destination, 'wb').write(r.content)
2018

0 commit comments

Comments
 (0)