Commit 4c76ba8
authored
Fixes issue of __str__ raising exception when DecodeUrl is None
If DecodeUrl attribute is None then __str__ method will raise '''TypeError: __str__ returned non-string (type NoneType)'''. To avoid it we can ensure that __str__ method returns string type of object.1 parent 7ed4583 commit 4c76ba8
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
0 commit comments