[Cvs-annodex] commit (annodex): keystroke/trunk/scriptview.py

scott nobody at lists.annodex.net
Fri Nov 17 08:51:00 UTC 2006


Update of /var/local/lib/svn/annodex (new revision 2549)

Modified files:
   keystroke/trunk/scriptview.py

Log Message:
Fixed carriage return error between first chapter to dialog change.

Modified: keystroke/trunk/scriptview.py
===================================================================
--- keystroke/trunk/scriptview.py	2006-11-17 08:20:50 UTC (rev 2548)
+++ keystroke/trunk/scriptview.py	2006-11-17 08:50:59 UTC (rev 2549)
@@ -66,7 +66,7 @@
     
     # Add track type specific decorations.
     if clip.get_track().startswith('subtitle') and not clip.get_speaker()==self.__last_speaker:
-      if self.__tracks[clip.get_track()].length()!=0:
+      if self.__tracks[clip.get_track()].length()!=0 or len(self.__tracks.keys())>1:
         self.__text.insert(self.__text.get_end_iter(),"\n\n")
       self.__text.insert(self.__text.get_end_iter(),clip.get_speaker()+":\n")
     elif clip.get_track().startswith('subtitle'):


-- 
scott



More information about the cvs-annodex mailing list