Skip to content

Commit

Permalink
fixed mixed tabs/whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
huuck authored Dec 10, 2018
1 parent 863d100 commit 2d6e967
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ def send_twice(conn, command, arg0, arg1, data, CONFIG):
def process_logging(comm_q, config):
while True:
obj_to_log = comm_q.get(True)
if type(obj_to_log) is dict:
jsonlog(obj_to_log, config)
elif type(obj_to_log) is str:
log(obj_to_log, config)
elif type(obj_to_log) is tuple:
dump_file_data(*obj_to_log)
if type(obj_to_log) is dict:
jsonlog(obj_to_log, config)
elif type(obj_to_log) is str:
log(obj_to_log, config)
elif type(obj_to_log) is tuple:
dump_file_data(*obj_to_log)

def process_connection(conn, addr, CONFIG, log_queue):
start = time.time()
Expand Down

0 comments on commit 2d6e967

Please sign in to comment.