@@ -500,7 +500,7 @@ def send_cached_events(self):
500
500
# create processes to handle the events
501
501
proc_num = min (event_size , Statistic .MAX_CACHE_PROC )
502
502
for i in range (proc_num ):
503
- p = multiprocessing .Process (target = do_send_ga_cached_event , args = (self .engine_version ))
503
+ p = multiprocessing .Process (target = do_send_ga_cached_event , args = (self .engine_version , ))
504
504
p .start ()
505
505
self .process_pool .append (p )
506
506
@@ -515,7 +515,7 @@ def send_cached_events(self):
515
515
if os .path .isfile (bi_cfg_file ):
516
516
os .remove (bi_cfg_file )
517
517
518
- p = multiprocessing .Process (target = do_send , args = (events , 0 , False , True , self .engine_version ))
518
+ p = multiprocessing .Process (target = do_send , args = (events , 0 , False , True , self .engine_version , ))
519
519
p .start ()
520
520
self .process_pool .append (p )
521
521
except :
@@ -527,15 +527,15 @@ def send_event(self, category, action, label):
527
527
528
528
# send event to GA
529
529
if GA_ENABLED :
530
- p = multiprocessing .Process (target = do_send , args = (event , 1 , True , False , self .engine_version ))
530
+ p = multiprocessing .Process (target = do_send , args = (event , 1 , True , False , self .engine_version , ))
531
531
p .start ()
532
532
self .process_pool .append (p )
533
533
534
534
# send event to BI
535
535
if BI_ENABLED :
536
536
# add timestamp
537
537
event .append (get_time_stamp ())
538
- p = multiprocessing .Process (target = do_send , args = (event , 1 , False , False , self .engine_version ))
538
+ p = multiprocessing .Process (target = do_send , args = (event , 1 , False , False , self .engine_version , ))
539
539
p .start ()
540
540
self .process_pool .append (p )
541
541
except :
0 commit comments