edit : api key 파일로 관리
This commit is contained in:
@@ -15,6 +15,8 @@ class Config:
|
||||
self.sftp_port = 22
|
||||
self.sftp_id = "fermat"
|
||||
self.sftp_pw = "1234"
|
||||
|
||||
self.api_path = "./gemini.env"
|
||||
|
||||
def set_dev(self):
|
||||
"""
|
||||
@@ -28,6 +30,8 @@ class Config:
|
||||
self.sftp_pw = "fermat3514"
|
||||
self.db_pw = "1234"
|
||||
|
||||
self.api_path = "./gemini.env"
|
||||
|
||||
if not os.path.exists(self.remote_folder):
|
||||
os.makedirs(self.remote_folder)
|
||||
|
||||
@@ -37,6 +41,8 @@ class Config:
|
||||
|
||||
self.db_pw = "Fermat3514!"
|
||||
|
||||
self.api_path = "../gemini.env"
|
||||
|
||||
if not os.path.exists(self.local_folder):
|
||||
os.makedirs(self.local_folder)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user