ashishb / adb-enhanced

global variable is undefined PYL-W0601
Bug risk
Critical
8 months ago4 years old
Global variable 'screen_record_file_path_on_device' undefined at the module level
 635    original_sigint_handler = None
 636
 637    def _start_recording():
 638        global screen_record_file_path_on_device 639        print_message('Recording video, press Ctrl+C to end...')
 640        screen_record_file_path_on_device = _create_tmp_file('screenrecord', 'mp4')
 641        dump_cmd = 'screenrecord --verbose %s ' % screen_record_file_path_on_device