mirror of
https://github.com/LC044/WeChatMsg
synced 2025-04-07 04:58:02 +08:00
12 lines
267 B
Python
12 lines
267 B
Python
import os
|
|
|
|
from app.person import MePC
|
|
|
|
|
|
def get_abs_path(path):
|
|
return os.path.join(os.getcwd(), 'app/data/icons/404.png')
|
|
if path:
|
|
return os.path.join(MePC().wx_dir, path)
|
|
else:
|
|
return os.path.join(os.getcwd(), 'app/data/icons/404.png')
|