Ticket #1116: enable_exit_if_not_connected.patch
File enable_exit_if_not_connected.patch, 582 bytes (added by , 16 years ago) |
---|
-
deluge/ui/console/main.py
295 295 parser._print_help(f) 296 296 parser.print_help = print_help 297 297 298 if not client.connected() and cmd not in ("help", "connect", "quit" ):298 if not client.connected() and cmd not in ("help", "connect", "quit", "exit"): 299 299 self.write("{!error!}Not connected to a daemon, please use the connect command first.") 300 300 return 301 301