diff --git a/contrib/sim-rest-server.py b/contrib/sim-rest-server.py index 83fb377d..fc8afd94 100755 --- a/contrib/sim-rest-server.py +++ b/contrib/sim-rest-server.py @@ -101,7 +101,7 @@ class SimRestServer: elif sw == '6982': return str(ApiError("Security Status not satisfied - Card PIN enabled?", sw)) else: - return str(ApiError("Card Communication Error %s" % failure.value), sw) + return str(ApiError("Card Communication Error %s" % failure.value, sw)) @app.route('/sim-auth-api/v1/slot/')