Ticket #1548: deluge-console-command-argument-processing.patch

File deluge-console-command-argument-processing.patch, 497 bytes (added by mathbr, 14 years ago)

Slightly tweak command arguments processing

  • deluge/ui/console/main.py

    diff --git a/deluge/ui/console/main.py b/deluge/ui/console/main.py
    index 6442e61..db2e843 100644
    a b def __init__(self, args=None):  
    163163        # Set the interactive flag to indicate where we should print the output
    164164        self.interactive = True
    165165        if args:
    166             args = args[0]
     166            args = ' '.join(args)
    167167            self.interactive = False
    168168
    169169        # Try to connect to the localhost daemon