RE: Coding of Podping: what do you want to build with it?

avatar

You are viewing a single comment's thread:

May I suggest for line 57:

data = json.load(post.get("json"))

Perhaps you should have some exception handling just in case the json parser doesn't find json. Or if it indeed finds json, it contains an object and not an array.



0
0
0.000
1 comments
avatar

You're absolutely right especially before we expand this to allowing anyone to write the pings to the network. It's on the list to make this thing much safer in terms of validation.

0
0
0.000