Skip to content

Commit 2af6a10

Browse files
committed
Fix handling of implicit version
1 parent a316d34 commit 2af6a10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gaeenv/sdk.py

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ def download(version=None):
5050
"""
5151
if not version:
5252
version = get_latest_version()
53+
if type(version) is str:
54+
version = tuple(version.split('.'))
5355

5456
response = requests.get('https://storage.googleapis.com/appengine-sdks')
5557
response.raise_for_status()

0 commit comments

Comments
 (0)