Skip to content

Commit

Permalink
minor: type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
homholueng committed Jul 17, 2020
1 parent e16338c commit 57c056b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipeline_plugins/components/collections/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def execute(self, data, parent_data):
if parent_data.get_one_of_inputs("language"):
translation.activate(parent_data.get_one_of_inputs("language"))

timing = data.get_one_of_inputs("bk_timing")
force_check = data.get_one_of_inputs("force_check", True)
timing = str(data.get_one_of_inputs("bk_timing"))
force_check = bool(data.get_one_of_inputs("force_check", True))
# 项目时区获取
project = Project.objects.get(id=parent_data.inputs.project_id)

Expand Down

0 comments on commit 57c056b

Please sign in to comment.