From a3c0f0754efb61834edd2b044bc881a2214e8c45 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 13 May 2015 23:27:51 +0200 Subject: [PATCH] Fix crash --- gns3server/utils/get_resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/utils/get_resource.py b/gns3server/utils/get_resource.py index f28152ab..dae285fc 100644 --- a/gns3server/utils/get_resource.py +++ b/gns3server/utils/get_resource.py @@ -24,7 +24,7 @@ log = logging.getLogger(__name__) try: egg_cache_dir = tempfile.mkdtemp() - pkg_resources.set_extraction_path(dir) + pkg_resources.set_extraction_path(egg_cache_dir) except ValueError: # If the path is already set the module throw an error pass