From 50ac3d36f9c56235de42df0246a201af798e726d Mon Sep 17 00:00:00 2001 From: Hajime Nakagami Date: Tue, 13 Aug 2024 16:34:48 +0900 Subject: [PATCH] fix getLogger() --- pyvim/editor.py | 1 - pyvim/utils.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyvim/editor.py b/pyvim/editor.py index e1960c3..335e1a9 100644 --- a/pyvim/editor.py +++ b/pyvim/editor.py @@ -7,7 +7,6 @@ e = Editor(files_to_edit) e.run() # Runs the event loop, starts interaction. """ -import logging from prompt_toolkit.application import Application from prompt_toolkit.application.application import _CombinedRegistry from prompt_toolkit.buffer import Buffer diff --git a/pyvim/utils.py b/pyvim/utils.py index a287a89..4558aad 100644 --- a/pyvim/utils.py +++ b/pyvim/utils.py @@ -15,4 +15,4 @@ def getLogger(): logger = logging.getLogger() logger.setLevel(logging.DEBUG) # logger.addHandler(logging.FileHandler("./pyvim.log")) - + return logger