added skeleton CmdWindow class

This commit is contained in:
Josh Holtrop committed 2010-12-02 17:59:11 -05:00
1 parent b0b8ce1716
commit 75059ed223
3 files changed
+30 -1

No files matched your search

+7 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python
import gtk
from CmdWindow import CmdWindow
import sqlite3
import os
import sys
@@ -29,6 +29,8 @@ def main(argv):
for opt, arg in opts:
if opt in ("-d", "--dbfile"):
timedbfile = arg
elif opt == '-c':
cmd = doCmdWindow()
elif opt == "--help":
usage()
sys.exit()
@@ -45,5 +47,9 @@ def createdb(dbfile):
c.close()
conn.close()
def doCmdWindow():
c = CmdWindow()
c.main()
if __name__ == "__main__":
main(sys.argv)