Skip to content

Commit

Permalink
workaround to ignore future warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Feb 9, 2024
1 parent 9323b3f commit 895df09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apiserver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
import http.server
import socketserver

import warnings
warnings.simplefilter(action="ignore", category=FutureWarning)

XUI_USERNAME = os.environ.get("XUI_USERNAME")
XUI_PASSWORD = os.environ.get("XUI_PASSWORD")

Expand Down

0 comments on commit 895df09

Please sign in to comment.