diff --git a/python/tmc_classes.py b/python/tmc_classes.py index b9b196b..05df2c7 100644 --- a/python/tmc_classes.py +++ b/python/tmc_classes.py @@ -671,7 +671,7 @@ class tmc_dict: color="gray" if message.location.has_koord: if loc==None:#first message at this location - map_tag+='

'%message.location.lcn + map_tag+='

'%(message.location.lcn) map_tag+=message.location_text() map_tag+='

' if message.cancellation_time==None: @@ -779,6 +779,7 @@ class tmc_message: except AttributeError: multi="[multi incomplete]" #print("got multistring") + multi+=", dir:%i"%self.tmc_dir return str(multi) def info_str(self): info="" @@ -837,7 +838,7 @@ class tmc_message: text+=templates[language+"_2b"].format(D=self.location.first_name) else: text+=templates[language+"_2a"].format(D=self.location.first_name,E=offset_loc_name) - text+=", dir:"+str(self.tmc_dir) + #text+=", dir:%i"%self.tmc_dir #LocCode: RefLine: RoadNr #A #LocCode:RefLine:Name2 @@ -967,7 +968,7 @@ class tmc_message: self.tmc_DP=data.uint #label==1: control codes elif label==1 and data.uint==2: - last_event.change_directionality#change directionality + last_event.change_directionality()#change directionality of event elif label==1 and data.uint==5: self.tmc_D=1#set diversion bit elif label==1 and data.uint==6: