Merge "at_auth_unlock.py: Fix exception when using Python2 w/ non-unlock cred in directory"
diff --git a/tools/at_auth_unlock.py b/tools/at_auth_unlock.py
index f49b4a6..80b5bb6 100755
--- a/tools/at_auth_unlock.py
+++ b/tools/at_auth_unlock.py
@@ -362,7 +362,7 @@
creds.append(UnlockCredentials.from_credential_archive(path))
if verbose:
print('Found valid unlock credential bundle: ' + path)
- except (IOError, ValueError, zipfile.BadZipFile) as e:
+ except (IOError, ValueError, zipfile.BadZipfile) as e:
if verbose:
print(
"Ignoring file which isn't a valid unlock credential zip bundle: "