# HG changeset patch # User dwinter # Date 1372328760 -7200 # Node ID c3c834cf1a6df169bce4f059405de1ffc21a2095 # Parent 81a8177ca3543eee1685615ae9f0529ce0a2104f minor bug in sho preprints diff -r 81a8177ca354 -r c3c834cf1a6d MPIWGStaff.py --- a/MPIWGStaff.py Wed Jun 26 16:49:31 2013 +0200 +++ b/MPIWGStaff.py Thu Jun 27 12:26:00 2013 +0200 @@ -832,9 +832,10 @@ if not ((entry[1] == publicationType) or (entry[1] == typesLongShort.get(publicationType,''))) : #stimmt nicht dann weiter continue; - - pubs.append((selPub.escidocid,entry[0],entry[2],entry[3],entry[4])); - count+=1 + + if len(entry)>4: + pubs.append((selPub.escidocid,entry[0],entry[2],entry[3],entry[4])); + count+=1 return pubs