We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is this a typo to use is_dir to check file exists?
def get_cycle_num(id_num, cargs): ### default cycle cycle_num = 0 if not is_dir(cargs.afl_fuzzing_dir + '/plot_data'): return cycle_num
the function is_dir is defined to check if the argument is a directory and not a file:
is_dir
def is_dir(dpath): return os.path.exists(dpath) and os.path.isdir(dpath)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
is this a typo to use is_dir to check file exists?
the function
is_dir
is defined to check if the argument is a directory and not a file:The text was updated successfully, but these errors were encountered: