diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-11-25 13:23:30 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-11-25 13:23:30 +0100 |
commit | 02b452a86d11655002fdfbb1566ef494e2c954d2 (patch) | |
tree | 8935c49b005d40a8fe17ba86cf5491555395a59a | |
parent | ad39481f238218ed3f3ce0f46c975a7ab178b5b5 (diff) | |
download | ufo-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.py | 2 |
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() |