eringiglio / Habitica-todo

Work in progress, but intended to sync new API for Habitica with current API for Todoist.
56 stars 11 forks source link

Commit to solve the error : NameError: name 'pkl_out' is not defined #18

Open ataliba opened 5 years ago

ataliba commented 5 years ago

Hello,

i have an error when i try to run the script habiticaTodo/twoWaySync.py

<Response [401]> Traceback (most recent call last): File "twoWaySync.py", line 140, in pkl_out - pickle.Pickler(pkl_file, -1) NameError: name 'pkl_out' is not defined

reading the code i see an little problem on the line

pkl_out - pickle.Pickler(pkl_file, -1)

And i change this to

pkl_out = pickle.Pickler(pkl_file, -1)