Skip to content
Snippets Groups Projects
Commit 7451c9b0 authored by Philipp Schneider's avatar Philipp Schneider
Browse files

Add char to clean_class_name_string

parent 7eebeba9
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ def clean_class_name_string(input_string):
Cleans string that is to be used as a class name from unwanted characters.
"""
char_list = ["'", '"', '.', '+', ',', '*', '&', '/', '=', '', ';', ':' '¨', '#', '?', '\n', '(', ')', '<', '>', '{', '}']
char_list = ["'", '"', '.', '+', ',', '*', '&', '/', '=', '', ';', ':' '¨', '#', '?', '\n', '(', ')', '<', '>', '{', '}', '!']
for char in char_list:
input_string = input_string.replace(char, '')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment