diff --git a/browser_control.py b/browser_control.py index 8a72ca24..2fc5a614 100644 --- a/browser_control.py +++ b/browser_control.py @@ -544,7 +544,7 @@ class BrowserController: pyautogui.press('right') # 오른쪽 입력 self.logger.debug("이미지 붙여넣기 완료.") self.logger.debug("이미지 붙여넣기 완료로 클립보드 비우기.") - await clipboardImageManager.clear_clipboard() + clipboardImageManager.clear_clipboard() else: self.logger.debug("클립보드가 비어있습니다.") except Exception as e: diff --git a/clipboardImageManager.py b/clipboardImageManager.py index c23206ae..369326a8 100644 --- a/clipboardImageManager.py +++ b/clipboardImageManager.py @@ -20,7 +20,7 @@ class ClipboardImageManager: self.browser_controller = browser_controller # BrowserController 인스턴스를 전달받음 self.debug = debug # 디버그 플래그를 클래스 변수로 사용 - self.debug = True + # self.debug = True def get_clipboard_data(self): """클립보드의 텍스트 또는 이미지 데이터를 가져옵니다.""" @@ -313,7 +313,7 @@ class ClipboardImageManager: image.save(original_image_path) # 크롭 전 이미지 저장 self.logger.debug(f"크롭 전 이미지 저장됨: {original_image_path}") - # 3%, 5%, 7% 크롭 이미지 저장 + # 1%, 2%, 3% 크롭 이미지 저장 crop_alternatives = [0.01, 0.02, 0.03] for crop in crop_alternatives: left_alt = width * crop diff --git a/libs/cx_Logging.lib b/libs/cx_Logging.lib new file mode 100644 index 00000000..2792f921 Binary files /dev/null and b/libs/cx_Logging.lib differ diff --git a/setup.py b/setup.py index 5ce28238..a06254ae 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ build_exe_options = { 'include_files': include_files, 'excludes': [ 'tkinter', 'PyQt4', 'PyQt6', 'AppKit', 'Foundation', 'IPython', 'OpenSSL', 'asyncpg', - 'curses', 'pydantic', 'ssl', 'test', 'unittest', 'matplotlib', 'tensorflow', 'torch', 'scipy' + 'curses', 'pydantic', 'test', 'unittest', 'matplotlib', 'tensorflow', 'torch', 'scipy' ] }