From 650bd69da50aff58bdf204498b762eb1e337e5df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Borgstr=C3=B6m?= Date: Fri, 1 Jul 2011 21:54:39 +0200 Subject: [PATCH] Decode hardlink source path before linking --- darc/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darc/archive.py b/darc/archive.py index f234f2c0d..52091d2ea 100644 --- a/darc/archive.py +++ b/darc/archive.py @@ -152,7 +152,7 @@ class Archive(object): os.makedirs(os.path.dirname(path)) # Hard link? if 'source' in item: - source = os.path.join(dest, item['source']) + source = os.path.join(dest, item['source'].decode('utf-8')) if os.path.exists(path): os.unlink(path) os.link(source, path)