Skip to content

Commit

Permalink
remove logzero import
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed May 29, 2024
1 parent 57a2bf3 commit b4be0cc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions wdapy/_wdapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import atexit
import base64
import io
import logging
import queue
import subprocess
import sys
Expand All @@ -14,7 +13,6 @@
import typing

from functools import cached_property
from logzero import setup_logger
from PIL import Image

from wdapy._alert import Alert
Expand All @@ -39,10 +37,7 @@ def debug(self) -> bool:

@debug.setter
def debug(self, v: bool):
if v:
setup_logger(NAME)
else:
setup_logger(NAME, level=logging.INFO)
self.__debug = v

def app_start(self, bundle_id: str, arguments: typing.List[str] = [], environment: typing.Dict[str, str] = {}):
self.session_request(POST, "/wda/apps/launch", {
Expand Down

0 comments on commit b4be0cc

Please sign in to comment.