Commit afd61c9
committed
fix(subscription): simplify HWID limit check logic
- Replace conditional pass statement with explicit limit validation
- Check if limit is not None and greater than 0 before enforcing device limit
- Improve code clarity by removing unnecessary else branch
- Maintain existing behavior while reducing conditional complexity1 parent a942bf6 commit afd61c9
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
| 309 | + | |
312 | 310 | | |
313 | 311 | | |
314 | 312 | | |
| |||
0 commit comments