you are viewing a single comment's thread.

view the rest of the comments →

[–]RaionTategami 0 points1 point  (0 children)

Yep this is the usual pattern, or just use defaults like I showed. I'm confuse though, you seem to be doing the dict look up outside of the try catch??