mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-10-31 23:09:58 +08:00
add # 新增使用开源字体
This commit is contained in:
@@ -4,6 +4,6 @@ from pathlib import Path
|
||||
|
||||
|
||||
def data_directory(base, configured=None):
|
||||
if configured is not None:
|
||||
return Path(configured)
|
||||
if configured:
|
||||
return Path(configured).expanduser()
|
||||
return Path(base) / 'farm_db'
|
||||
|
||||
Reference in New Issue
Block a user