From 21773762112e1a0eff9653190bec108df3586548 Mon Sep 17 00:00:00 2001 From: Kristinn Gudjonsson Date: Tue, 29 Jan 2019 11:02:45 +0000 Subject: [PATCH] Micro change. --- timesketch/lib/datastores/elastic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesketch/lib/datastores/elastic.py b/timesketch/lib/datastores/elastic.py index ee83046dac..10ce3a04b1 100644 --- a/timesketch/lib/datastores/elastic.py +++ b/timesketch/lib/datastores/elastic.py @@ -519,7 +519,7 @@ def import_event( # Make sure we have decoded strings in the event dict. event = { k.decode(u'utf8'): (v.decode(u'utf8') - if isinstance(v, basestring) else v) + if isinstance(v, str) else v) for k, v in event.items() }