Skip to content

Commit

Permalink
plasma-breeze-qubes: fix Qubes 4.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Dec 23, 2017
1 parent e93f8c3 commit a3ca170
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plasma-breeze-qubes/qubes-generate-color-palette
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ def get_labels():
labels = {}
try:
# core3
from qubes import Qubes
app = qubes.Qubes()
import qubesadmin
app = qubesadmin.Qubes()
labels = app.labels
except ImportError:
# core2
import qubes.qubes
labels = qubes.qubes.QubesVmLabels

for name, label in labels.iteritems():
for name, label in labels.items():
yield name, label.color

def generate_palete(dir):
Expand Down

0 comments on commit a3ca170

Please sign in to comment.