Skip to content
Prev Previous commit
Next Next commit
Fix spacing
  • Loading branch information
averikitsch committed Apr 16, 2019
commit 4c5d6b4e07b95158ee67c0cfaba9b3d2853d6f22
2 changes: 2 additions & 0 deletions appengine/flexible/tasks/create_http_task_with_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import datetime


def create_http_task(project,
queue,
location,
Expand Down Expand Up @@ -52,6 +53,7 @@ def create_http_task(project,
}
}
}

if payload is not None:
# The API expects a payload of type bytes.
converted_payload = payload.encode()
Expand Down