Archived
回复文件结构
This commit is contained in:
5 files changed
+1
-19
No files matched your search
@@ -58,22 +58,6 @@ class Settings:
|
||||
"""
|
||||
return self.__database['type']
|
||||
|
||||
@property
|
||||
def path(self) -> str:
|
||||
"""
|
||||
数据库路径
|
||||
:return:
|
||||
"""
|
||||
return self.__database['SQLite']['path']
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
"""
|
||||
数据库名称
|
||||
:return:
|
||||
"""
|
||||
return self.__database['SQLite']['path'].split('/')[-1]
|
||||
|
||||
@property
|
||||
def mysql_host(self) -> str:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user