Skip to content

Commit

Permalink
Remove global and make path absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
winniederidder committed Apr 18, 2022
1 parent 4389d53 commit f69afdf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/workers/python/papyros/papyros.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@

SYS_RECURSION_LIMIT = 500

# Global Papyros instance
papyros = None

class Papyros(python_runner.PyodideRunner):
def __init__(
self,
*,
source_code="",
filename="my_program.py",
filename="/my_program.py",
callback=None,
limit=SYS_RECURSION_LIMIT
):
Expand Down
Binary file modified src/workers/python/python_package.tar.gz.load_by_url
Binary file not shown.

0 comments on commit f69afdf

Please sign in to comment.