Skip to content

Commit 5192811

Browse files
committed
added hashlib
1 parent 0b002d8 commit 5192811

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎v3/pg_logger.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def setJS(jsStr):
115115
ALLOWED_STDLIB_MODULE_IMPORTS = ('math', 'random', 'datetime',
116116
'functools', 'itertools', 'operator', 'string',
117117
'collections', 're', 'json',
118-
'heapq', 'bisect', 'copy')
118+
'heapq', 'bisect', 'copy', 'hashlib')
119119

120120
# allow users to import but don't explicitly import it since it's
121121
# already been done above

‎v3/visualize.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@
473473
copy,
474474
datetime,
475475
functools,
476+
hashlib,
476477
heapq,
477478
itertools,
478479
json,

0 commit comments

Comments
 (0)