Jose Manuel Rivas Márquez
PreguntaA mi me da el siguiente error.
UnboundLocalError: local variable ‘__config’ referenced before assignment
en el archivo common. p y
import yaml __config = None def config(): if not __config: with open('config.yaml', mode='r') as f: __config = yaml.load(f) return __config
py
igual verifique y lo tengo tal cual lo puso el profesor.