diff --git a/binarycpython/utils/functions.py b/binarycpython/utils/functions.py index 4ffcabaa5d29ba81f5ac5aa86574cc9e50d6f12f..b15dcc5d9e6fa5c9da04855641e6e32a9bdd5aa2 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])