Skip to content

Commit

Permalink
fix some bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liuf5 committed Mar 24, 2021
1 parent 0187338 commit 157d390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zoomeye/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def print_data(data_list):
printf("total: {}".format(total))


def print_filter(keys, data_list, condition):
def print_filter(keys, data_list, condition=None):
"""
used to display user filtered data on the terminal
:param keys: user input key, is str
Expand Down Expand Up @@ -295,7 +295,7 @@ def print_filter_history(fileds, hist_data, condition=None):
filter_title = ''
first_item = hist_data[0]
# filter data
all_data, port_count = data.filter_history_data(fileds, hist_data)
all_data, port_count = data.filter_history_data(fileds, hist_data, omit=False)
printf(first_item.get('ip'))
dict_first_item = data.ZoomEyeDict(first_item)
# parser filter data title
Expand Down

0 comments on commit 157d390

Please sign in to comment.