2020-05-28, 20:22
[SOLVED:] using br instead of r fixed it
Trying to translate my Matrix plugin to leia but currently stuck at this problem...
Executing the following piece of code works the first time but after that it fails constantly until KODI is rebooted.
Build: 18.7 2020-05-20
Code:
with open(config_file, mode='rb') as f:
Trying to translate my Matrix plugin to leia but currently stuck at this problem...
Executing the following piece of code works the first time but after that it fails constantly until KODI is rebooted.
python:#This should be working but it isn't!
if os.path.isfile(config_file):
with open(config_file, 'r') as f:
CONFIG = json.load(f)
Code:
with open(config_file, 'r') as f:
TypeError: attribute of type 'NoneType' is not callable
-->End of Python script error report<--