From aee296ea46084e4fd710aebdf856372fd588218f Mon Sep 17 00:00:00 2001 From: "Desai, Kartikey H" Date: Mon, 7 Oct 2019 13:04:15 -0400 Subject: [PATCH] Fixes #296 --- stix2/v21/observables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stix2/v21/observables.py b/stix2/v21/observables.py index fdb61f4..51d0ca0 100644 --- a/stix2/v21/observables.py +++ b/stix2/v21/observables.py @@ -385,7 +385,7 @@ class File(_Observable): ('mtime', TimestampProperty()), ('atime', TimestampProperty()), ('parent_directory_ref', ReferenceProperty(valid_types='directory', spec_version='2.1')), - ('contains_refs', ListProperty(ReferenceProperty(invalid_types="", spec_version='2.1'))), + ('contains_refs', ListProperty(ReferenceProperty(invalid_types=[""], spec_version='2.1'))), ('content_ref', ReferenceProperty(valid_types='artifact', spec_version='2.1')), ('extensions', ExtensionsProperty(spec_version='2.1', enclosing_type=_type)), ('spec_version', StringProperty(fixed='2.1')),