import sys
import json
import maya.cmds as mc
import threading
from multiprocessing import Queue
import pymel.core as pm
def test(blon):
res = mc.listAttr("FKWrist_L", k=1)
t1 = threading.Thread(target=test, args=(True, ))
t1.start()
# # Exception in thread Thread-83:
# Traceback (most recent call last):
# File "C:\Program Files\Autodesk\Maya2020\bin\python27.zip\threading.py", line 801, in __bootstrap_inner
# self.run()
# File "C:\Program Files\Autodesk\Maya2020\bin\python27.zip\threading.py", line 754, in run
# self.__target(*self.__args, **self.__kwargs)
# File "<maya console>", line 14, in test
TypeError: Flag 'k' must be passed a boolean argument
hi, please help me