summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-11-25 13:23:30 +0100
committerSuren A. Chilingaryan <csa@suren.me>2019-11-25 13:23:30 +0100
commit02b452a86d11655002fdfbb1566ef494e2c954d2 (patch)
tree8935c49b005d40a8fe17ba86cf5491555395a59a
parentad39481f238218ed3f3ce0f46c975a7ab178b5b5 (diff)
downloadufo-roof-temp-02b452a86d11655002fdfbb1566ef494e2c954d2.tar.gz
ufo-roof-temp-02b452a86d11655002fdfbb1566ef494e2c954d2.tar.bz2
ufo-roof-temp-02b452a86d11655002fdfbb1566ef494e2c954d2.tar.xz
ufo-roof-temp-02b452a86d11655002fdfbb1566ef494e2c954d2.zip
Fix reading integer argument in python demo
-rw-r--r--tests/roof.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/roof.py b/tests/roof.py
index a859069..831de7c 100644
--- a/tests/roof.py
+++ b/tests/roof.py
@@ -25,7 +25,7 @@ output = None
parser = argparse.ArgumentParser()
parser.add_argument('-c', '--config', dest="config", default="roof.json", help="ROOF configuration (JSON)")
parser.add_argument('-o', '--output', dest="output", default=None, help="Output file")
-parser.add_argument('-n', '--number', dest="number", default=None, help="Specify number of frames to capture")
+parser.add_argument('-n', '--number', dest="number", default=None, type=int, help="Specify number of frames to capture")
args = parser.parse_args()