Skip to content

Commit 304e53d

Browse files
committed
bug (shameful == instead of =)
1 parent 7baefa1 commit 304e53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MMM-Paris-RATP-PG.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Module.register("MMM-Paris-RATP-PG",{
124124
case 'buses':
125125
case 'rers':
126126
case 'metros':
127-
if (l.type == 'bus') { l.type == 'buses';} //to avoid update config from v3 to v4
127+
if (l.type == 'bus') { l.type = 'buses';} //to avoid update config from v3 to v4
128128
l.url = this.config.ratp_api + 'schedules/' + l.type + '/' + l.line.toString().toLowerCase() + '/' + l.stations + '/' + l.destination; // get schedule for that bus
129129
break;
130130
case 'traffic':

0 commit comments

Comments
 (0)