From 7a07102951b35c5f342f632489d882c4460fe112 Mon Sep 17 00:00:00 2001 From: ccf2012 Date: Mon, 20 Mar 2023 13:16:03 +0800 Subject: [PATCH] update main --- torcp/torcp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torcp/torcp.py b/torcp/torcp.py index 95395ee..018eff0 100644 --- a/torcp/torcp.py +++ b/torcp/torcp.py @@ -1104,10 +1104,10 @@ def main(self, argv=None, exportObject=None): def main(): - logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(funcName)s %(message)s') o = Torcp() o.main() if __name__ == '__main__': + logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(funcName)s %(message)s') main()