From a8a307ea7dec2ffee5dfff6b799043b394a222a5 Mon Sep 17 00:00:00 2001 From: Khuyagbaatar Batsuren Date: Wed, 21 Jul 2021 04:26:47 +0800 Subject: [PATCH] Update Wiktra.py --- Wiktra.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Wiktra.py b/Wiktra.py index 317bf7c..afcd709 100644 --- a/Wiktra.py +++ b/Wiktra.py @@ -1,8 +1,9 @@ import os +os.chdir(os.path.dirname(__file__)) + import lupa from lupa import LuaRuntime -os.chdir(os.path.dirname(__file__)) lua = LuaRuntime(unpack_returned_tuples=True) #lua.execute("dir = io.popen'cd':read'*l'") #lua.execute('package.path = package.path .. ";" .. dir.."\\\?.lua"')