Ticket #1855: 0001-Fix-spelling-error-in-deluge-console-output.patch

File 0001-Fix-spelling-error-in-deluge-console-output.patch, 1.2 KB (added by eirikba, 3 years ago)
  • deluge/ui/console/commands/info.py

    From dc8a7da4c3741cc02f036d26c912f048f8c86e22 Mon Sep 17 00:00:00 2001
    From: Eirik Byrkjeflot Anonsen <eirik@eirikba.org>
    Date: Tue, 17 May 2011 20:48:25 +0200
    Subject: [PATCH 1/4] Fix spelling error in deluge-console output.
    
    ---
     deluge/ui/console/commands/info.py |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/deluge/ui/console/commands/info.py b/deluge/ui/console/commands/info.py
    index d42a80e..7852399 100644
    a b def show_info(self, torrent_id, status, verbose=False): 
    156156        if status["state"] in ("Seeding", "Downloading", "Queued"): 
    157157            s = "{!info!}Seeds: {!input!}%s (%s)" % (status["num_seeds"], status["total_seeds"]) 
    158158            s += " {!info!}Peers: {!input!}%s (%s)" % (status["num_peers"], status["total_peers"]) 
    159             s += " {!info!}Availibility: {!input!}%.2f" % status["distributed_copies"] 
     159            s += " {!info!}Availability: {!input!}%.2f" % status["distributed_copies"] 
    160160            self.console.write(s) 
    161161 
    162162        s = "{!info!}Size: {!input!}%s/%s" % (common.fsize(status["total_done"]), common.fsize(status["total_size"]))