diff options
| author | Antoine Beaupré <anarcat@debian.org> | 2018-03-14 12:25:11 -0400 |
|---|---|---|
| committer | Antoine Beaupré <anarcat@debian.org> | 2018-03-14 12:25:11 -0400 |
| commit | 19c038a39f39ca58ec9eda218f412856fa149fb4 (patch) | |
| tree | 16bee584700903300b29518d9a7f0c6c3c916b50 /raphodo/backuppanel.py | |
| parent | d1098f6cc37c5b7b98a28470781f3c4dd5d046d5 (diff) | |
| parent | 0a297829eaf3912c939e1b43a3ef6ddeb7607b38 (diff) | |
Merge tag 'upstream/0.9.9'
Upstream version 0.9.9
Diffstat (limited to 'raphodo/backuppanel.py')
| -rw-r--r-- | raphodo/backuppanel.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/raphodo/backuppanel.py b/raphodo/backuppanel.py index eb823f8..2194b79 100644 --- a/raphodo/backuppanel.py +++ b/raphodo/backuppanel.py @@ -234,8 +234,7 @@ class BackupDeviceModel(QAbstractListModel): if len(self.rows) == 0: if role == Qt.DisplayRole: return ViewRowType.header - else: - assert role == Roles.device_details + elif role == Roles.device_details: if not self.prefs.backup_files: return (_('Backups are not configured'), self.removableIcon) elif self.prefs.backup_device_autodetection: |
