mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-14 23:16:50 +00:00
lightly init
This commit is contained in:
20
main.py
20
main.py
@@ -1,10 +1,10 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
dotenv_path = os.path.join(os.path.dirname(__file__), '.env')
|
||||
if os.path.exists(dotenv_path):
|
||||
load_dotenv(dotenv_path)
|
||||
|
||||
from rsshub import create_app
|
||||
|
||||
app = create_app('production')
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
dotenv_path = os.path.join(os.path.dirname(__file__), '.env')
|
||||
if os.path.exists(dotenv_path):
|
||||
load_dotenv(dotenv_path)
|
||||
|
||||
from rsshub import create_app
|
||||
|
||||
app = create_app('production')
|
||||
|
||||
Reference in New Issue
Block a user