From 087f77e878d590917f98283bea6704e343c89b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jord=C3=A0=20Polo?= Date: Wed, 8 Jan 2025 12:51:06 -0800 Subject: [PATCH] Remove unnecessary path insertion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jordà Polo --- omnistat/standalone.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/omnistat/standalone.py b/omnistat/standalone.py index be23a012..dfb574d5 100755 --- a/omnistat/standalone.py +++ b/omnistat/standalone.py @@ -45,11 +45,6 @@ from flask import Flask, abort, jsonify, request from prometheus_client import REGISTRY, Gauge -# Ensure current directory is part of Python's path; allows direct execution -# from the top directory of the project when package is not installed. -if os.path.isdir("omnistat") and sys.path[0]: - sys.path.insert(0, "") - from omnistat import utils from omnistat.monitor import Monitor