Skip to content

Commit

Permalink
Remove unnecessary path insertion
Browse files Browse the repository at this point in the history
Signed-off-by: Jordà Polo <[email protected]>
  • Loading branch information
jordap authored and koomie committed Jan 10, 2025
1 parent dd2c7f0 commit 087f77e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions omnistat/standalone.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 087f77e

Please sign in to comment.