Skip to content

Commit

Permalink
auto push
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchenxi95 committed Feb 7, 2018
1 parent daed75a commit 400353f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion http_log_watcher/http_log_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def process_http_log(file_path, line_number_should_skipped):
# skip the processed_lines
for line in f:
line_count += 1
if line_number_should_skipped == 0 or line_count <= line_number_should_skipped:
if line_count <= line_number_should_skipped:
continue

words = line.split()
Expand Down
1 change: 0 additions & 1 deletion http_log_watcher/log_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def run_processing_log_files_of_all_directories(db):

if len(http_log_list) == 0:
continue
print(http_log_list)
# http_data_dict[date_string] = http_log_list
requests.post(get_log_file_uri(mac_address, date_string, request_type), json=http_log_list)
else:
Expand Down

0 comments on commit 400353f

Please sign in to comment.