Skip to content

Commit

Permalink
[dvbscanner] silence a pep message
Browse files Browse the repository at this point in the history
  • Loading branch information
AbuBaniaz committed Sep 22, 2023
1 parent 5816222 commit df5dccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutoBouquetsMaker/src/scanner/dvbscanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def readLCNBAT(self, bouquet_id, descriptor_tag, TSID_ONID_list):
key = "%x:%x:%x" % (service["transport_stream_id"], service["original_network_id"], service["service_id"])
TSID_ONID = "%x:%x" % (service["transport_stream_id"], service["original_network_id"])

if key in logical_channel_number_dict and service["descriptor_tag"] != descriptor_tag[0]: # priority first descriptor_tag
if key in logical_channel_number_dict and service["descriptor_tag"] != descriptor_tag[0]: # priority first descriptor_tag
continue

logical_channel_number_dict[key] = service
Expand Down

2 comments on commit df5dccf

@Huevos
Copy link
Member

@Huevos Huevos commented on df5dccf Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you concentrating on this particular PEP recommendation when the list of others is huge?

@AbuBaniaz
Copy link
Contributor Author

@AbuBaniaz AbuBaniaz commented on df5dccf Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment was made here cf08f3f#commitcomment-128035122
It is a new one
It was the only one of that type
It was easy enough for me to fix
The others were old, historic and out of my league and commented upon more than two months ago here: 1b99ab5
You have fixed a lot of them today, many thanks for that.

Oh, I attempted these:
AbuBaniaz@e9feccc

Please sign in to comment.