summaryrefslogtreecommitdiff
path: root/yaksh/code_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/code_server.py')
-rw-r--r--yaksh/code_server.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yaksh/code_server.py b/yaksh/code_server.py
index 4feb7fd..60f966f 100644
--- a/yaksh/code_server.py
+++ b/yaksh/code_server.py
@@ -17,7 +17,10 @@ import json
from multiprocessing import Process, Queue, Manager
import os
from os.path import dirname, abspath
-import pwd
+try:
+ import pwd
+except ImportError:
+ pass
import sys
import time