diff --git a/gns3server/utils/get_resource.py b/gns3server/utils/get_resource.py index e50a7e94..b988a200 100644 --- a/gns3server/utils/get_resource.py +++ b/gns3server/utils/get_resource.py @@ -49,7 +49,7 @@ def get_resource(resource_name): """ resource_path = None - if hasattr(sys, "frozen") and os.path.exists(resource_name): + if hasattr(sys, "frozen"): resource_path = os.path.normpath(os.path.join(os.path.dirname(sys.executable), resource_name)) elif not hasattr(sys, "frozen") and pkg_resources.resource_exists("gns3server", resource_name): resource_path = pkg_resources.resource_filename("gns3server", resource_name)