feat
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
mol
2023-09-05 18:09:14 +08:00
parent 5157f4f8d2
commit bf38ce958d

2
Rss.py
View File

@ -53,7 +53,7 @@ class RssDB():
pass pass
def connect(self): def connect(self):
return pymysql.connect(host=os.getenv('db_host'), user=os.getenv('db_user'), passwd=os.getenv('db_passwd'), port=os.getenv('db_port'), db=os.getenv('db_db')) return pymysql.connect(host=os.getenv('db_host'), user=os.getenv('db_user'), passwd=os.getenv('db_passwd'), port=int(os.getenv('db_port')), db=os.getenv('db_db'))
def fetchData(self, type, is_success): def fetchData(self, type, is_success):
db = self.connect() db = self.connect()