Skip to content

Commit

Permalink
fix arg_checker
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWang committed Feb 13, 2017
1 parent cc0bc86 commit 389314a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rqalpha/utils/arg_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def check_are_valid_fields(func_name, fields):

raise RQInvalidArgument(
_('function {}: invalid {} argument, expect a string or a list of string, got {} (type: {})').format(
func_name, self._arg_name, repr(valid_fields), type(valid_fields)
func_name, self._arg_name, repr(fields), type(fields)
))
self._rules.append(check_are_valid_fields)
return self
Expand Down

0 comments on commit 389314a

Please sign in to comment.