diff options
author | CruiseDevice | 2021-02-26 08:37:27 +0530 |
---|---|---|
committer | CruiseDevice | 2021-02-26 08:37:27 +0530 |
commit | 3e23a631e9c8e25fd13c7f1f8b0fed54d0c34b8f (patch) | |
tree | a07018d25d470708dd5367e455681b06f1562f0f /yaksh/base_evaluator.py | |
parent | 9a2717b662c7dd3fca54e8b8f2e526454ad72d83 (diff) | |
download | online_test-3e23a631e9c8e25fd13c7f1f8b0fed54d0c34b8f.tar.gz online_test-3e23a631e9c8e25fd13c7f1f8b0fed54d0c34b8f.tar.bz2 online_test-3e23a631e9c8e25fd13c7f1f8b0fed54d0c34b8f.zip |
Fix assignment download on grade user interface
Diffstat (limited to 'yaksh/base_evaluator.py')
-rw-r--r-- | yaksh/base_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/base_evaluator.py b/yaksh/base_evaluator.py index 567d5ad..c7b5c54 100644 --- a/yaksh/base_evaluator.py +++ b/yaksh/base_evaluator.py @@ -44,7 +44,7 @@ class BaseEvaluator(object): """Returns a string without any null and substitute characters""" stripped = "" for c in string: - if ord(c) is not 26 and ord(c) is not 0: + if ord(c) != 26 and ord(c) != 0: stripped = stripped + c return ''.join(stripped) |