Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
allegroai committed Mar 31, 2024
1 parent bb49814 commit 9db8656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clearml/automation/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -3745,7 +3745,7 @@ def _create_task_from_function(
def sanitize(function_source):
matched = re.match(r"[\s]*@[\w]*.component[\s\\]*\(", function_source)
if matched:
function_source = function_source[matched.span()[1] :]
function_source = function_source[matched.span()[1]:]
# find the last ")"
open_parenthesis = 0
last_index = -1
Expand Down

0 comments on commit 9db8656

Please sign in to comment.