-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
Repair BIOS installation #310
Conversation
Quality Gate passedIssues Measures |
from functools import partial | ||
from importlib import import_module | ||
from logging import getLogger | ||
from pathlib import Path | ||
from platform import architecture, python_implementation, python_version, uname | ||
from pprint import pformat | ||
from shutil import copy, copytree, rmtree, unpack_archive | ||
from subprocess import run |
Check warning
Code scanning / Bandit (reported by Codacy)
Consider possible security implications associated with the subprocess module. Warning
""" | ||
for old_bios_dir in DCS_BIOS_REPO_DIR.parent.iterdir(): | ||
if old_bios_dir.match(pattern) and old_bios_dir.is_dir(): | ||
proc = run(fr'attrib -R -H -S {old_bios_dir}\*.* /S /D'.split(' '), check=True, shell=False) |
Check warning
Code scanning / Bandit (reported by Codacy)
subprocess call - check for execution of untrusted input. Warning
Description
Add button to Repair DCS-BIOS installation