Skip to content
This repository was archived by the owner on May 17, 2022. It is now read-only.

Commit f26aa15

Browse files
committed
bug fix
1 parent b191d66 commit f26aa15

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

main.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,10 +1070,6 @@ def idle(self):
10701070
with args.config as cf:
10711071
config.read_string(cf.read())
10721072
main_config = config['main']
1073-
if main_config.get('root-dir'):
1074-
os.chdir(main_config.get('root-dir'))
1075-
else:
1076-
os.chdir(os.path.dirname(__file__))
10771073
file_name = main_config.get('log-file')
10781074
logging.basicConfig(
10791075
format = '%(asctime)s - %(name)s - %(levelname)s - %(message)s',

0 commit comments

Comments
 (0)