Skip to content

Commit 75cab75

Browse files
committed
[Console] Block interactive-mode on Windows even with curses
1 parent 7660e2e commit 75cab75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deluge/ui/console/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def start_ui(self):
138138
except ImportError:
139139
wrapper = None
140140

141-
if deluge.common.windows_check() and not wrapper:
141+
if deluge.common.windows_check():
142142
print(
143143
"""\nDeluge-console does not run in interactive mode on Windows. \n
144144
Please use commands from the command line, e.g.:\n
@@ -148,6 +148,7 @@ def start_ui(self):
148148
deluge-console.exe "add -p c:\\mytorrents c:\\new.torrent"
149149
"""
150150
)
151+
return
151152

152153
# We don't ever want log output to terminal when running in
153154
# interactive mode, so insert a dummy here

0 commit comments

Comments
 (0)