Changeset 5644

Show
Ignore:
Timestamp:
11/01/07 18:50:05 (6 years ago)
Author:
hvolos
Message:

expanding tabs; python is picky

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • experimental/components/rc2007_gui/WorkModules.py

    r5636 r5644  
    187187                text, 
    188188                copy.copy(self.text_metadata)) 
    189         print "snd:Adding to text history" 
    190         self.rc2007_gui_ref.texthistory=self.rc2007_gui_ref.texthistory+'Snd('+strftime("%H:%M",localtime()) + '):'+text+'\n' 
    191         #print "snd:Try to display text"         
    192         #self.rc2007_gui_ref.prnt_app.frame.DisplayText(self.rc2007_gui_ref.texthistory) 
    193         print "text history after send:",self.rc2007_gui_ref.texthistory 
    194          
     189        print "snd:Adding to text history" 
     190        self.rc2007_gui_ref.texthistory=self.rc2007_gui_ref.texthistory+'Snd('+strftime("%H:%M",localtime()) + '):'+text+'\n' 
     191        #print "snd:Try to display text"             
     192        #self.rc2007_gui_ref.prnt_app.frame.DisplayText(self.rc2007_gui_ref.texthistory) 
     193        print "text history after send:",self.rc2007_gui_ref.texthistory 
     194         
    195195    def Release(self): 
    196196        self.is_running = False 
     
    223223                    # encode audio data using CVSD codec 
    224224                    data_int = self.my_encoder.Encode(data) 
     225                     
    225226                    # pack integers into string 
    226227                    # NOTE: this does NOT mean that an integer zero is 
     
    247248                    # encode audio data using CVSD codec 
    248249                    data_int = self.my_encoder.Encode(data) 
     250                     
    249251                    # pack integers into string 
    250252                    # NOTE: this does NOT mean that an integer zero is 
     
    305307        self.process_thread = threading.Thread(target=self.Process) 
    306308        self.process_thread.start() 
    307          
    308         #create displayed data history buffer 
     309         
     310        #create displayed data history buffer 
    309311 
    310312 
     
    371373                elif metadata.app_id==2: 
    372374                    # text data 
    373                     print "rx text",data 
    374                     print "text history",self.rc2007_gui_ref.texthistory 
    375                     self.rc2007_gui_ref.texthistory=self.rc2007_gui_ref.texthistory+'Rcv('+strftime("%H:%M",localtime()) + '):'+data+'\n' 
     375                    print "rx text",data 
     376                    print "text history",self.rc2007_gui_ref.texthistory 
     377                    self.rc2007_gui_ref.texthistory=self.rc2007_gui_ref.texthistory+'Rcv('+strftime("%H:%M",localtime()) + '):'+data+'\n' 
    376378                    self.rc2007_gui_ref.prnt_app.frame.DisplayText(self.rc2007_gui_ref.texthistory) 
    377379