We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d885b0a commit 6477dceCopy full SHA for 6477dce
tmt/steps/report/reportportal.py
@@ -79,7 +79,7 @@ def _filter_log_per_size(data: str,
79
f"exceeds tmt reportportal plugin limit of {settings.size}. "
80
f"The limit is controlled with {option} plugin option or "
81
f"{variable} environment variable.\n\n")
82
- return f"{header}{data[:settings.size.to('bytes').magnitude]}"
+ return f"{header}{data[:int(settings.size.to('bytes').magnitude)]}"
83
return data
84
85
0 commit comments