This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

add `venv` check

+7
+7
src/main.py
··· 7 7 from dotenv import load_dotenv 8 8 from atproto import Client, models 9 9 from atproto.exceptions import BadRequestError 10 + import sys 11 + 12 + if not hasattr(sys, 'real_prefix') and not (hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix): 13 + print("Error: This script must be run inside a virtual environment.") 14 + sys.exit(1) 15 + else: 16 + print("Virtual environment detected.") 10 17 11 18 # Define the paths 12 19 BASE_DIR = os.path.abspath(os.path.dirname(__file__))