Skip to content

Commit

Permalink
#1766: actually use a default dict value so we on't get errors using …
Browse files Browse the repository at this point in the history
…it later on

git-svn-id: https://xpra.org/svn/Xpra/trunk@18431 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 14, 2018
1 parent 20514a6 commit 161c602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/platform/darwin/gl_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def check_support(self, force_enable=False):
#do it again but for each screen:
if nscreens>1:
for screen in range(nscreens):
si = i.setdefault("screen-%i" % screen)
si = i.setdefault("screen-%i" % screen, {})
for name,vdef in attr_name.items():
conv, const_val = vdef #ie (bool, NSOpenGLPFAAlphaSize)
v = self._get_pfa(const_val, screen)#ie: NSOpenGLPFAAlphaSize=8
Expand Down

0 comments on commit 161c602

Please sign in to comment.