Skip to content

Commit

Permalink
avoid error with python3
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@6527 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 20, 2014
1 parent fa2a940 commit 28da141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/codecs/codec_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def make_instance(self):


def get_instance_count(self):
return len(self.instances.keys())
return len(list(self.instances.keys()))

def to_dict(self):
d = {}
Expand Down

0 comments on commit 28da141

Please sign in to comment.