Browse Source

Fix regression from renaming exception

Alois Mahdal 10 years ago
parent
commit
9d1bf46424
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      plugins/qotd.py

+ 1
- 1
plugins/qotd.py View File

13
             self.host = args.pop(0)
13
             self.host = args.pop(0)
14
             self.port = args.pop(0) if args else 17
14
             self.port = args.pop(0) if args else 17
15
         except IndexError:
15
         except IndexError:
16
-            raise sardine.SardinePluginUsageError("HOST [PORT]")
16
+            raise sardine.PluginUsageError("HOST [PORT]")
17
         self.port = int(self.port)
17
         self.port = int(self.port)
18
 
18
 
19
     def _fetch_qotd(self):
19
     def _fetch_qotd(self):