mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-04 05:39:06 +00:00
Add helper function to identify when app running as pyinstaller app
Useful for when want the app to behave differently in pyinstaller app scenario with frozen python. And in development scenarios
This commit is contained in:
@@ -3,7 +3,7 @@ import argparse
|
||||
import pathlib
|
||||
|
||||
# Internal Packages
|
||||
from src.utils.helpers import get_absolute_path, resolve_absolute_path
|
||||
from src.utils.helpers import resolve_absolute_path
|
||||
from src.utils.yaml import parse_config_from_file
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user