Oct-24-2022, 10:36 AM
hi
I have deleted the line
I have deleted the line
from PySide2.QtWidgets import *and add the line
import jsonand changed the line
loadJsonStyle(self, self.ui)with the line
json.load('style.json')but i have the error message
Error: return loads(fp.read(),
AttributeError: 'str' object has no attribute 'read'