added strip to remove potential whitespace

pull/409/head
Jesse Hedden 2020-06-24 17:47:41 -07:00
parent b60d142d32
commit b188d2da4e
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class TruSTARParser:
CLIENT_VERSION = "{}".format(pymisp.__version__)
def __init__(self, attribute, config):
config['enclave_ids'] = config.get('enclave_ids', "").split(',')
config['enclave_ids'] = config.get('enclave_ids', "").strip().split(',')
config['client_metatag'] = self.CLIENT_METATAG
config['client_version'] = self.CLIENT_VERSION
self.ts_client = TruStar(config=config)