dwtt/Command.py
2010-12-09 21:47:16 -05:00

10 lines
237 B
Python

class Command:
def __init__(self, timenow, cmdline):
self.time = timenow
self.command = 'start'
self.parseCommandLine(cmdline)
def parseCommandLine(self, cmdline):
parts = cmdline.split(None, 1)