Skip to content

Commit

Permalink
feat: Add icecream
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Jun 4, 2024
1 parent 86be64c commit ecc02a4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ async def main() -> None:
logging.basicConfig(handlers=[InterceptHandler()], level=logging.INFO, force=True)
logger.add("hoyo_buddy.log", rotation="32 MB", retention="5 days", level="INFO")

try:
from icecream import install
except ImportError:
pass
else:
install()

try:
import uvloop # pyright: ignore [reportMissingImports]
except ModuleNotFoundError:
Expand Down

0 comments on commit ecc02a4

Please sign in to comment.