ashishb / adb-enhanced

Global variable is declared but not used PYL-W0602
Bug risk
Major
8 months ago3 years old
Using global for 'screen_record_file_path_on_device' but no assignment is done
 642        execute_adb_shell_command2(dump_cmd)
 643
 644    def _pull_and_delete_file_from_device():
 645        global screen_record_file_path_on_device 646        print_message('Saving recording to %s' % filepath)
 647        pull_cmd = 'pull %s %s' % (screen_record_file_path_on_device, filepath)
 648        execute_adb_command2(pull_cmd)