Skip to content

Commit

Permalink
Removed irrelevant type check in fieldlist backend
Browse files Browse the repository at this point in the history
Fixes issue SigmaHQ#1351
  • Loading branch information
thomaspatzke committed Feb 23, 2021
1 parent 74ae898 commit 5cfd837
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/sigma/backends/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ def generateListNode(self, node):

def generateMapItemNode(self, node):
key, value = node
if type(value) not in (str, int, list, type(None)):
raise TypeError("Map values must be strings, numbers or lists, not " + str(type(value)))
return [key]

def generateValueNode(self, node):
Expand Down

0 comments on commit 5cfd837

Please sign in to comment.