From 0ec580d00f8415e7c2627a3902d8eebd6e48497d Mon Sep 17 00:00:00 2001
From: David Hendriks <davidhendriks93@gmail.com>
Date: Wed, 25 Mar 2020 13:46:55 +0000
Subject: [PATCH] fixed error again

---
 binarycpython/utils/functions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/binarycpython/utils/functions.py b/binarycpython/utils/functions.py
index 4ffcabaa5..b15dcc5d9 100644
--- a/binarycpython/utils/functions.py
+++ b/binarycpython/utils/functions.py
@@ -383,7 +383,7 @@ def create_arg_string(arg_dict, sort=False, filter_values=False):
         # Filter out NULLS (not compiled anyway)
         if filter_values:   
             if not arg_dict[key] in ["NULL", "Function"]:
-                if not value == "":
+                if not arg_dict[key] == "":
                     arg_string += "{key} {value} ".format(key=key, value=arg_dict[key])
         else:
             arg_string += "{key} {value} ".format(key=key, value=arg_dict[key])
-- 
GitLab