26 lines
488 B
Python
26 lines
488 B
Python
#! /usr/bin/python
|
|
|
|
# To change this template, choose Tools | Templates
|
|
# and open the template in the editor.
|
|
|
|
__author__="bjschuma"
|
|
__date__ ="$Dec 19, 2009 11:38:46 PM$"
|
|
|
|
from manager import manager
|
|
import settings
|
|
|
|
|
|
# Check for valid input
|
|
def run(input):
|
|
prompt = input[0:4]
|
|
input = input[4:]
|
|
split = input.strip().split()
|
|
if len(split)>1:
|
|
manager.run(split[0],split[1:])
|
|
else:
|
|
manager.run(input)
|
|
|
|
y = settings.get("cliney")
|
|
settings.replace("cliney", y+1)
|
|
return prompt
|