music-kraken-core/music_kraken/utils/config/utils.py
2024-04-09 10:32:17 +02:00

5 lines
180 B
Python

def comment(uncommented_string: str) -> str:
_fragments = uncommented_string.split("\n")
_fragments = ["# " + frag for frag in _fragments]
return "\n".join(_fragments)