diff --git a/overrides_bulk_operations/vacation_overrides.py b/overrides_bulk_operations/vacation_overrides.py index 8fb4f0a..581b9fc 100755 --- a/overrides_bulk_operations/vacation_overrides.py +++ b/overrides_bulk_operations/vacation_overrides.py @@ -73,7 +73,7 @@ def create_overrides(): }} ) if not create_response.ok: - message = "HTTP error: %d"%e.response.status_code + message = "HTTP error: %d" % create_response.status_code print("Error creating override; "+message) continue print("Success.")