That's no problem because the hard coded region will only be used when not directly using Amazon S3. REGION_EU_W1 simply uses the path style by default.