Just improving some code comments and some formatting

This commit is contained in:
HackTestes
2025-07-04 14:54:54 -03:00
parent ba3ef60c9f
commit 9a5ded98bf
2 changed files with 3 additions and 2 deletions

View File

@@ -15,9 +15,9 @@ def main():
return
try:
# Verify driver version
try:
# Call nvml init and shutdown as an exception (special case), because I need it to restart in a loop later
nvmlInit()
main_funcs.check_driver_version(nvmlSystemGetDriverVersion())
@@ -29,6 +29,7 @@ def main():
while(True):
try:
# Start nvml (or again in case of errors)
# Useful to keep the process running during driver updates
nvmlInit()
match config.action:

View File

@@ -145,7 +145,7 @@ def parse_cmd_args(args):
raise InvalidAction("The action passed as argument is incorrect")
# You can safely ignore the actions here
# You can safely ignore the action here
i = 2
while(i < len(args)):