Simplify bool returning function

This commit is contained in:
Kristóf Tóth 2018-04-16 12:51:44 +02:00
parent 39243811dc
commit 986a67f5db

View File

@ -25,9 +25,7 @@ import json
def validate_message(message):
if 'key' not in message:
return False
return True
return 'key' in message
def serialize_tfw_msg(message):