Fix #66: Encode int to str in environ

This commit is contained in:
Phillip Berndt 2017-01-21 11:55:24 +01:00
parent 20fe858e08
commit a02f2f6968
1 changed files with 1 additions and 1 deletions

View File

@ -844,7 +844,7 @@ def dispatch_call_to_sessions(argv):
display = process_environ["DISPLAY"] if "DISPLAY" in process_environ else None
# To allow scripts to detect batch invocation (especially useful for predetect)
process_environ["AUTORANDR_BATCH_PID"] = os.getpid()
process_environ["AUTORANDR_BATCH_PID"] = str(os.getpid())
if display and display not in X11_displays_done:
try: