1
0

Start modularising tcllib.

This commit is contained in:
2018-02-02 03:33:53 +01:00
parent f9398e6b5f
commit 4456f76032
11 changed files with 39 additions and 26 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import os
import random
import sys
import tcllib
import tcllib.argparser
fc = tcllib.FotaCheck()
@@ -25,7 +26,7 @@ encslaves = [
dpdesc = """
Returns the checksum for a given firmware URI.
"""
dp = tcllib.DefaultParser(__file__, dpdesc)
dp = tcllib.argparser.DefaultParser(__file__, dpdesc)
dp.add_argument("uri", help="URI to firmware, starts with '/body/...'")
args = dp.parse_args(sys.argv[1:])