Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/client/implementations.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/client/implementations.py')
-rw-r--r--sugar_network/client/implementations.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sugar_network/client/implementations.py b/sugar_network/client/implementations.py
index 2681592..4a7ba3e 100644
--- a/sugar_network/client/implementations.py
+++ b/sugar_network/client/implementations.py
@@ -281,8 +281,7 @@ class Routes(object):
shutil.copyfileobj(blob, tmp_file)
tmp_file.seek(0)
with Bundle(tmp_file, 'application/zip') as bundle:
- bundle.extractall(data_path,
- extract=data.get('extract'))
+ bundle.extractall(data_path, prefix=bundle.rootdir)
for exec_dir in ('bin', 'activity'):
bin_path = join(data_path, exec_dir)
if not exists(bin_path):