mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
upload_static: Put the unmangled files on S3 as well.
This commit is contained in:
@@ -20,9 +20,6 @@ def upload(static_root, bucket_name):
|
||||
for file in files:
|
||||
absolute_path = os.path.join(root, file)
|
||||
|
||||
if os.path.islink(absolute_path):
|
||||
continue
|
||||
|
||||
key_name = os.path.relpath(absolute_path, start=static_root)
|
||||
|
||||
type, encoding = mimetypes.guess_type(file)
|
||||
|
||||
Reference in New Issue
Block a user