diff --git a/src/jarabe/model/network.py b/src/jarabe/model/network.py
index bd4b7d1..6d2f400 100644
a
|
b
|
class NMSettingsConnection(dbus.service.Object): |
245 | 245 | config.set(identifier, 'uuid', self._settings.connection.uuid) |
246 | 246 | config.set(identifier, 'autoconnect', |
247 | 247 | self._settings.connection.autoconnect) |
248 | | config.set(identifier, 'timestamp', |
249 | | self._settings.connection.timestamp) |
| 248 | if self._settings.connection.timestamp is not None: |
| 249 | config.set(identifier, 'timestamp', |
| 250 | self._settings.connection.timestamp) |
250 | 251 | |
251 | 252 | if self._settings.wireless_security is not None: |
252 | 253 | if self._settings.wireless_security.key_mgmt is not None: |
… |
… |
def load_connections(): |
362 | 363 | settings.connection.type = nmtype |
363 | 364 | autoconnect = bool(config.get(section, 'autoconnect')) |
364 | 365 | settings.connection.autoconnect = autoconnect |
365 | | timestamp = int(config.get(section, 'timestamp')) |
366 | | settings.connection.timestamp = timestamp |
| 366 | |
| 367 | if config.has_option(section, 'timestamp'): |
| 368 | timestamp = int(config.get(section, 'timestamp')) |
| 369 | settings.connection.timestamp = timestamp |
367 | 370 | |
368 | 371 | secrets = None |
369 | 372 | if config.has_option(section, 'key-mgmt'): |