aboutsummaryrefslogtreecommitdiff
path: root/src/utils/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/__init__.py')
-rw-r--r--src/utils/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/__init__.py b/src/utils/__init__.py
index c0acee4d..e159bbca 100644
--- a/src/utils/__init__.py
+++ b/src/utils/__init__.py
@@ -190,9 +190,9 @@ class MultiCheck(object):
requests: typing.List[typing.Tuple[str, typing.List[str]]]):
self.requests = requests
class Check(object):
- def __init__(self, request: str, *args: typing.List[str]):
+ def __init__(self, request: str, *args: str):
self.request = request
- self.args = args
+ self.args = list(args)
def to_multi(self):
return MultiCheck([(self.request, self.args)])
def __or__(self, other: "Check"):