Changeset 47

Show
Ignore:
Timestamp:
09/24/07 14:41:51 (1 year ago)
Author:
devja..@anarkystic.com
Message:

fixing contacts fetching

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • photobooth/photobooth.py

    r45 r47  
    147147            for c in rv: 
    148148                #pprint.pprint(c) 
    149                  
    150                 contact_id = c[1] 
     149                if c[1] == person['id']: 
     150                    contact_id = c[0] 
     151                else: 
     152                    contact_id = c[1] 
    151153                l.append(self._getPersonByThing(contact_id)) 
    152154            return defer.gatherResults(l)