The issue is still the same here.

What if the function gets called in a way like this

    write_config('asd')

What then?