diff options
author | Palaparthy Adityachandra | 2021-03-15 19:02:27 +0530 |
---|---|---|
committer | GitHub | 2021-03-15 19:02:27 +0530 |
commit | 6fda19daaa06482b8eb52eeb62f9b0a15d0a3da6 (patch) | |
tree | a589f0dfae0cd118432f7e45899439cfc2a98a13 /yaksh/base_evaluator.py | |
parent | 85a2b6b61c74e2ed42d6c78f6b502a3c72dcf9ca (diff) | |
parent | 1793f445ec0cbc67df4b4cd3151859e01ed4b2a0 (diff) | |
download | online_test-6fda19daaa06482b8eb52eeb62f9b0a15d0a3da6.tar.gz online_test-6fda19daaa06482b8eb52eeb62f9b0a15d0a3da6.tar.bz2 online_test-6fda19daaa06482b8eb52eeb62f9b0a15d0a3da6.zip |
Merge pull request #822 from CruiseDevice/fix_file_upload_assignments
Fix file upload assignments
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) |