timetracker/common/util.py

4 lines
111 B
Python

def tr(s: str, character_to_remove: str):
for c in list(character_to_remove):
s = s.replace(c, "")