bugfix delay management
convert input to int
This commit is contained in:
parent
2383d0e04b
commit
2cd3307326
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ if __name__=="__main__":
|
||||||
# Optional arguments.
|
# Optional arguments.
|
||||||
parser.add_argument("-d","--directory", default='.',
|
parser.add_argument("-d","--directory", default='.',
|
||||||
help="The directory in which to copy the saved versions.")
|
help="The directory in which to copy the saved versions.")
|
||||||
parser.add_argument("-y","--delay", default=10,
|
parser.add_argument("-y","--delay", default=10, type=int,
|
||||||
help="The minimum time (in seconds) between the creation of different saved files.")
|
help="The minimum time (in seconds) between the creation of different saved files.")
|
||||||
parser.add_argument("-s","--separator", default='_',
|
parser.add_argument("-s","--separator", default='_',
|
||||||
help="Separator character between the file name and the date stamp.")
|
help="Separator character between the file name and the date stamp.")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue