Commits

Denis Khabarov committed 7debfb0

fix

Comments (0)

Files changed (1)

check_nvidia_temp.py

 ''',formatter_class=argparse.RawDescriptionHelpFormatter)
 cliparser.add_argument("--warning",metavar="VALUE",help="warning temperature",required=True,type=int)
 cliparser.add_argument("--critical",metavar="VALUE",help="critical temperature",required=True,type=int)
-cliparser.add_argument('--nvclockpath',metavar='VALUE',help='path to nvclock (default: /usr/bin/nvclock)',default='/usr/bin/nvclock')
+cliparser.add_argument('--nvclockpath',metavar='VALUE',help='path to nvclock (default: /usr/bin/nvclock)',default='/usr/bin/nvclock', type=str)
 cliargs = cliparser.parse_args()
 
 def nvclock_call():