summaryrefslogtreecommitdiff
path: root/yaksh/code_server.py
diff options
context:
space:
mode:
authoradityacp2020-10-24 16:42:10 +0530
committeradityacp2020-10-24 16:42:10 +0530
commit8747c671d87418be83c8c6b9849e2962cdbb0715 (patch)
tree73027483efd30183390e3d4f06a87634993ce01c /yaksh/code_server.py
parent430c8d1480d897e9fc0dc328bad173642d0a2946 (diff)
downloadonline_test-8747c671d87418be83c8c6b9849e2962cdbb0715.tar.gz
online_test-8747c671d87418be83c8c6b9849e2962cdbb0715.tar.bz2
online_test-8747c671d87418be83c8c6b9849e2962cdbb0715.zip
Improve lesson statistics
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