top | item 24018356

(no title)

zeronone | 5 years ago

Indentation is wrong in following statement ``` return once_wrapper ```

discuss

order

natch|5 years ago

Duh, thanks! Now I have a new one but I think it just means the script needs to stay running longer so the coroutine can have time to do its thing.

    ./once.py:29: RuntimeWarning: coroutine 'once.
    <locals>.once_wrapper' was never awaited
    one_time_setup()