mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-12 21:28:29 +03:00
Unit tests for storage types + fix storage too long issues for local storage
This commit is contained in:
@@ -67,4 +67,8 @@ class S3Storage(Storage):
|
||||
if 'Contents' in resp:
|
||||
return resp['Contents'][0]['Key']
|
||||
return False
|
||||
|
||||
def max_file_length(self):
|
||||
# Amazon AWS max file length is 1024, but we will use 1000 to be safe
|
||||
return 1000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user