Commit 6f0732b
Fix bug when callback params is empty
This patch fixes an AttributeError exception in router.py.
Ubersmith send this callback payload for order modules:
{'url': None, 'params': []}
Ubersmith serialize an empty array to a list instead of a dict.1 parent f6037c7 commit 6f0732b
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
0 commit comments