diff --git a/download_from_google_storage.py b/download_from_google_storage.py index 378c5e261..5dda6cf7e 100755 --- a/download_from_google_storage.py +++ b/download_from_google_storage.py @@ -333,7 +333,7 @@ def main(args): # Make sure we should run at all based on platform matching. if options.platform: - if not re.match(options.platform, sys.platform): + if not re.match(options.platform, GetNormalizedPlatform()): if options.verbose: print('The current platform doesn\'t match "%s", skipping.' % options.platform)