fixed mutable argument bug in the source dict of SourceAttribute
This commit is contained in:
9
src/music_kraken/utils/string_processing.py
Normal file
9
src/music_kraken/utils/string_processing.py
Normal file
@@ -0,0 +1,9 @@
|
||||
def unify(string: str) -> str:
|
||||
"""
|
||||
returns an unified str, to make comparosons easy.
|
||||
an unified string has following attributes:
|
||||
- is lowercase
|
||||
"""
|
||||
|
||||
return string.lower()
|
||||
|
Reference in New Issue
Block a user