Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def generate_static_path(file_path):
- app_path = dirname(dirname(abspath(__file__)))
- static_path = os.path.join(app_path,'frontend/static/frontend/')
- static_path = os.path.join(static_path, file_path)
- return static_path
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement