Skip to content

Commit

Permalink
wrong order
Browse files Browse the repository at this point in the history
  • Loading branch information
rohe committed Sep 28, 2017
1 parent 2f57877 commit 999bd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jwkest/jws.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ def is_jws(self, jws):

def _is_json_serialized_jws(self, json_jws):
json_ser_keys = set(["payload", "signatures"])
flattened_json_ser_keys = set[("payload", "signature")]
flattened_json_ser_keys = set(["payload", "signature"])
if not json_ser_keys.issubset(
json_jws.keys()) and not flattened_json_ser_keys.issubset(
json_jws.keys()):
Expand Down

0 comments on commit 999bd45

Please sign in to comment.