Skip to content

Commit

Permalink
Merge pull request #23 from HSLdevcom/fix-oulu-problem
Browse files Browse the repository at this point in the history
Remove + from shortname
  • Loading branch information
vesameskanen authored Apr 8, 2022
2 parents b5495b6 + 6580620 commit de608e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtfsrthttp2mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def doGTFSRTPolling(self):
full_topic = '{0}/{1}///{2}/{3}/{4}/{5}/{6}/{7}/{8}/{9}/{10}/{11}/{12}/{13}/{14}/{15}/'.format(
self.baseMqttTopic, self.feedName, mode, route_id, direction_id,
trip_headsign, trip_id, stop_id, start_time, vehicle_id, geohash_head, geohash_firstdeg,
geohash_seconddeg, geohash_thirddeg, short_name, color)
geohash_seconddeg, geohash_thirddeg, short_name, color).replace("+","").replace("#", "")

sernmesg = nfeedmsg.SerializeToString()
self.client.publish(full_topic, sernmesg)
Expand Down

0 comments on commit de608e5

Please sign in to comment.