diff --git a/bob/models.py b/bob/models.py index 59bb5e7..58a2ccc 100644 --- a/bob/models.py +++ b/bob/models.py @@ -33,7 +33,7 @@ s3 = boto.connect_s3() bucket = s3.get_bucket(S3_BUCKET) upstream = None if UPSTREAM_S3_BUCKET: - upstream = s3.get_bucket(S3_BUCKET) + upstream = s3.get_bucket(UPSTREAM_S3_BUCKET) # Make stdin/out as unbuffered as possible via file descriptor modes. sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)