diff options
author | J0J0 T <jojo@peek-a-boo.at> | 2022-08-28 13:26:06 +0200 |
---|---|---|
committer | J0J0 Todos <jojo@peek-a-boo.at> | 2023-03-29 07:46:08 +0200 |
commit | b3d0c1cc1cacb79be56504edc3ade4596a8794e5 (patch) | |
tree | eb5e759eb74bdd2bfb6303b81ee2f19bb0596cfa | |
parent | bd5335f31fe021d3c04b9f681f6023816d0c1ccc (diff) |
Revert "convert: playlist: Debug commit: Learn syspath()"
This reverts commit 8a7519e5057e9c11a5f95c979b2fd5ac6c1fd9e2.
-rw-r--r-- | beets/util/__init__.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/beets/util/__init__.py b/beets/util/__init__.py index 70ba7b996..2319890a3 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -409,17 +409,11 @@ def syspath(path, prefix=True): # reported as the FS encoding by Windows. Try both. try: path = path.decode('utf-8') - print("syspath: this is path:") - print(path) except UnicodeError: # The encoding should always be MBCS, Windows' broken # Unicode representation. encoding = sys.getfilesystemencoding() or sys.getdefaultencoding() path = path.decode(encoding, 'replace') - print("syspath: this is encoding:") - print(encoding) - print("syspath: this is path:") - print(path) # Add the magic prefix if it isn't already there. # https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx |