Skip to content

Commit

Permalink
Merge branch 'hotfix/str' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Reitz committed Sep 9, 2010
2 parents 59de660 + 296adc4 commit 1620bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xerox/linux.py
Expand Up @@ -11,7 +11,7 @@ def copy(string):
"""Copy given string into system clipboard."""
try:
_cmd = ["xclip", "-selection", "clipboard"]
subprocess.Popen(_cmd, stdin=subprocess.PIPE).communicate(str(unicode(string)))
subprocess.Popen(_cmd, stdin=subprocess.PIPE).communicate(unicode(string))
return
except Exception, why:
raise XclipNotFound
Expand Down

0 comments on commit 1620bb0

Please sign in to comment.