Added a check to the oblique plugin

Checks if lines can be split.
This commit is contained in:
stoneLeaf 2012-04-12 03:02:46 +02:00
parent b279f96af0
commit 3c9e6a6736
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ def update_commands(force=False):
if not line.strip():
continue
if line.strip().find(" ") == -1:
continue
name, url = line.strip().split(None, 1)
commands[name] = url