Skip to content

Commit

Permalink
Amend prev commit: More future-proof
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/dispcalgui/code/trunk@6208 6ae35eb0-b8ff-4ca7-919d-0ec1eff389cd
  • Loading branch information
fhoech committed Sep 12, 2019
1 parent 77db548 commit 908cf36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DisplayCAL/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2034,11 +2034,11 @@ def add_measurement_features(self, args, display=True,
return True

def add_video_levels_arg(self, args):
if (config.get_display_name() != "madVR" and
if (config.get_display_name() not in ("madVR", "Resolve", "Prisma") and
getcfg("patterngenerator.use_video_levels") and
self.argyll_version >= [1, 6] and
not self._use_patternwindow):
# For virtual display, -E is invalid
self.get_display() != self.argyll_virtual_display):
# For madVR and dummy display, -E is invalid
args.append("-E")

def authenticate(self, cmd, title=appname, parent=None):
Expand Down Expand Up @@ -7050,7 +7050,7 @@ def get_device_id(self, quirk=False, use_serial_32=True,
query=query)

def get_display(self):
""" Get the currently configured display number.
""" Get the currently configured display.

Returned is the Argyll CMS dispcal/dispread -d argument

Expand Down

0 comments on commit 908cf36

Please sign in to comment.