Commit 5dca40c9 authored by brandt73's avatar brandt73
Browse files

Merge branch 'rbrandt-implement-limit-type-conversion' into 'master'

Implement type conversion for argument "limit"

See merge request !12
parents 7d9d7aac 7bade4d3
Pipeline #276057 passed with stages
in 1 minute and 8 seconds
......@@ -16,6 +16,12 @@ _Types of changes_:
## [Unreleased]
## [0.8.2] - 2022-02-16
### Changed
- Implemented type conversion to int for parameter `limit`, so the agent won't crash if the argument value value is passed in quotes
## [0.8.1] - 2021-09-03
### Changed
......
VERSION = (0, 8, 1)
VERSION = (0, 8, 2)
__version__ = ".".join(map(str, VERSION))
......
......@@ -39,7 +39,7 @@ def move(
if criteria["overwrite"] in ["true", "yes"]:
overwrite = True
if "limit" in keys:
limit = criteria["limit"]
limit = int(criteria["limit"])
if "order" in keys:
order = criteria["order"]
if "order_reverse" in keys:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment