Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9413188

Browse filesBrowse files
committed
Merge pull request #5514 from fariza/string-format-example
adding str to force string in format
2 parents 4654a9f + 43e3dcb commit 9413188
Copy full SHA for 9413188

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/user_interfaces/toolmanager.py

Copy file name to clipboardExpand all lines: examples/user_interfaces/toolmanager.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def trigger(self, *args, **kwargs):
4141
print("{0:12} {1:45}".format("Group", "Active"))
4242
print('-' * 80)
4343
for group, active in self.toolmanager.active_toggle.items():
44-
print("{0:12} {1:45}".format(group, active))
44+
print("{0:12} {1:45}".format(str(group), str(active)))
4545

4646

4747
class GroupHideTool(ToolToggleBase):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.