diff options
Diffstat (limited to 'mackup.patch')
-rw-r--r-- | mackup.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mackup.patch b/mackup.patch new file mode 100644 index 000000000000..15c01994f383 --- /dev/null +++ b/mackup.patch @@ -0,0 +1,13 @@ +diff --git a/mackup/config.py b/mackup/config.py +index 97f140e..81a6044 100644 +--- a/mackup/config.py ++++ b/mackup/config.py +@@ -220,7 +220,7 @@ class Config(object): + + # Python 2 and python 3 byte strings are different. + if sys.version_info[0] < 3: +- path = str(path) ++ path = path.encode("utf-8") + else: +- path = path.decode("utf-8") ++ path = str(path) |