Tony Godshall <t...@of.net> writes: > > if __name__ == '__main__': > - os.environ[ "DISPLAY" ] = ":0" > + if not os.environ.has_key("DISPLAY"): > + os.environ[ "DISPLAY" ] = ":0"
Usually there's no need to have a default or fallback for $DISPLAY. If it's not set then you're not under X. I suggest just delete the :0 line. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org