Skip to content

Commit 4807dd2

Browse files
committed
problem with merge I think, code should have been removed
1 parent 5f116cc commit 4807dd2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bpython/cli.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,11 +1851,9 @@ def main_curses(scr):
18511851
global stdscr
18521852
global DO_RESIZE
18531853
DO_RESIZE = False
1854-
if os.path.isfile(path):
1855-
migrate_rc(path)
1854+
18561855
signal.signal(signal.SIGWINCH, lambda *_: sigwinch(scr))
18571856

1858-
loadini()
18591857
stdscr = scr
18601858
try:
18611859
curses.start_color()
@@ -1900,6 +1898,7 @@ def main():
19001898
path = os.path.expanduser('~/.bpythonrc') # migrating old configuration file
19011899
if os.path.isfile(path):
19021900
migrate_rc(path)
1901+
loadini()
19031902

19041903
try:
19051904
o = curses.wrapper(main_curses)

0 commit comments

Comments
 (0)