Commit 46ee565
committed
Use default value when fetching prefix+ '_URL'
When a driver does not register an environment variable suffixed
with _URL, pifpaf will break having None when it expects a string.
Signed-off-by: Moisés Guimarães de Medeiros <guimaraes@pm.me>1 parent 517aaab commit 46ee565
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments