summaryrefslogblamecommitdiffstats
path: root/todolist.py
blob: d2ab10cceec1751127f37c9d166ff151301d4e22 (plain) (tree)
1
2
3
4
5
6
7
8
                 
                       


                      
                                
 
             




                                        
                                              
    





                                                         
 
                   
          
    

                          
#!/usr/bin/python
# -*- coding: utf-8 -*-

import storage.factory
import item
from ui.ui_pygtk import ui_pygtk

import random
from time import time

def main():
    store = storage.factory.getStorage()
    items = store.load()
    #items += item.item('asda', 12345678, 231)
    
    #for i in items:
    #    print i.getTitle()
    #    print i.getCreatedAt()
    #    print i.getPriority()
    #    print '========================================'
    #    i.priority = random.randint(0,10)

    ui_pygtk(items)
    return
    
if __name__ == '__main__':
    main()