From b71a2aea86b5b5b829d915350bc9c582d0aad199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Mon, 10 Apr 2017 17:49:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=B4=D0=B3=D0=BE=D1=82=D0=BE=D0=B2=D0=BA=D0=B8=20=D1=88=D0=B8?= =?UTF-8?q?=D1=84=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D1=84=D0=B8=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/desktop/desktop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/desktop/desktop.py b/pym/desktop/desktop.py index e127e4e..2d2224e 100644 --- a/pym/desktop/desktop.py +++ b/pym/desktop/desktop.py @@ -122,7 +122,7 @@ class Desktop(MethodsInterface): # поместить данные во временный tarfile remove_files = [] tf = tempfile.TemporaryFile() - for fn in (".calculate", ".dmrc", ".face", ".face.icon"): + for fn in listDirectory(userDir, fullPath=False): full_fn = path.join(userDir, fn) if path.lexists(full_fn): with tarfile.open(fileobj=tf, mode='w:') as tarf: