ForceGT / Tata-Sky-IPTV

Generate direct m3u playlist for all the channels subscribed in the Tata Sky portal
654 stars 129 forks source link

Added sanity checks #1

Closed nikhilkharade closed 3 years ago

nikhilkharade commented 3 years ago

a = { "a" = 1 }

a["b"] = keyerror a.get("b") = None

ForceGT commented 3 years ago

Is this important because I am sure that the json file which the methods read surely have the params which are referenced through [] and not .get(). There is certainty that the key for the which the values are asked is already in the file

Avijneyam commented 3 years ago

why not f string instead of .format 👀