MCPcopy
hub / github.com/mvdctop/Movie_Data_Capture / debug_print

Function debug_print

core.py:683–699  ·  view source on GitHub ↗
(data: json)

Source from the content-addressed store, hash-verified

681
682
683def debug_print(data: json):
684 try:
685 print("[+] ------- DEBUG INFO -------")
686 for i, v in data.items():
687 if i == 'outline':
688 print('[+] -', "%-19s" % i, ':', len(v), 'characters')
689 continue
690 if i == 'actor_photo' or i == 'year':
691 continue
692 if i == 'extrafanart':
693 print('[+] -', "%-19s" % i, ':', len(v), 'links')
694 continue
695 print(f'[+] - {i:<{cn_space(i, 19)}} : {v}')
696
697 print("[+] ------- DEBUG INFO -------")
698 except:
699 pass
700
701
702def core_main_no_net_op(movie_path, number):

Callers 2

mainFunction · 0.90
core_mainFunction · 0.85

Calls 1

cn_spaceFunction · 0.85

Tested by

no test coverage detected