diff options
author | ankitjavalkar | 2020-11-04 18:00:56 +0530 |
---|---|---|
committer | GitHub | 2020-11-04 18:00:56 +0530 |
commit | 2371058b9cf8fd953e8e089ac51702475a102ff7 (patch) | |
tree | 1764959aca48f835be56c0819cddd286aeb8b4df /yaksh/code_server.py | |
parent | 81f96a24954d375ab32ab8dfb1ee8aba299655c6 (diff) | |
parent | aef2589eadaf7f3252e281286ab1bb83e690ba6a (diff) | |
download | online_test-2371058b9cf8fd953e8e089ac51702475a102ff7.tar.gz online_test-2371058b9cf8fd953e8e089ac51702475a102ff7.tar.bz2 online_test-2371058b9cf8fd953e8e089ac51702475a102ff7.zip |
Merge pull request #784 from adityacp/improve_lesson_stats
Improve lesson statistics
Diffstat (limited to 'yaksh/code_server.py')
-rw-r--r-- | yaksh/code_server.py | 5 |
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 |