From 3a786b56d0355e14697e58db32a0290ef5ad2f25 Mon Sep 17 00:00:00 2001 From: CensoredUsername Date: Wed, 3 Jul 2019 00:16:22 +0200 Subject: [PATCH] Fix typo in unrpyc-compile.py --- un.rpyc/unrpyc-compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/un.rpyc/unrpyc-compile.py b/un.rpyc/unrpyc-compile.py index e01e8e01..42206aaf 100644 --- a/un.rpyc/unrpyc-compile.py +++ b/un.rpyc/unrpyc-compile.py @@ -71,7 +71,7 @@ def read_ast_from_file(raw_contents): raw_contents = chunks[1] raw_contents = raw_contents.decode('zlib') - data, stmts = magic.safe_loads(raw_contents, factory, ("_ast, collections",)) + data, stmts = magic.safe_loads(raw_contents, factory, {"_ast", "collections"}) return stmts def ensure_dir(filename):