|
@@ -180,9 +180,13 @@ class Handler:
|
180
|
180
|
try:
|
181
|
181
|
pdbs.load()
|
182
|
182
|
except KeyError:
|
183
|
|
- # If there's no configuration, we don't want to fail
|
184
|
|
- pass
|
185
|
|
- self.cfg = pdbs.get_tmpcfg()
|
|
183
|
+ # If there's no configuration, we don't want to fail. We
|
|
184
|
+ # do want to display no configuration though
|
|
185
|
+ self.cfg = pdbuddy.SinkConfig(
|
|
186
|
+ status=pdbuddy.SinkStatus.VALID,
|
|
187
|
+ flags=pdbuddy.SinkFlags.NONE, v=0, i=0)
|
|
188
|
+ else:
|
|
189
|
+ self.cfg = pdbs.get_tmpcfg()
|
186
|
190
|
except OSError as e:
|
187
|
191
|
comms_error_dialog(window, e)
|
188
|
192
|
return
|