1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Fix crash

This commit is contained in:
Julien Duponchelle 2015-05-13 23:27:51 +02:00
parent 157bc18ebd
commit a3c0f0754e

View File

@ -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