Skip to content

Commit

Permalink
Allow importing collections and random
Browse files Browse the repository at this point in the history
  • Loading branch information
purplesyringa committed May 22, 2019
1 parent 64e71ee commit 2cb6511
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SitePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ def __init__(self, *args, **kwags):
"output": self.backgroundOutput,
"input": self.backgroundInput,
"readModule": self.readModule,
"allowed_import": ("json", "re", "datetime", "base64"),
"allowed_import": (
"json", "re", "datetime", "base64", "collections", "random"
),
"modules": storage.modules,
"site": self,
"scope0": [],
Expand Down

0 comments on commit 2cb6511

Please sign in to comment.