Skip to content

Commit

Permalink
Merge pull request fbchat-dev#559 from xaadu/patch-1
Browse files Browse the repository at this point in the history
Fix mistake in session handling example
  • Loading branch information
madsmtm authored May 6, 2020
2 parents 0981be4 + 93b71bf commit 5d763df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/session_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def load_cookies(filename):

def save_cookies(filename, cookies):
with open(filename, "w") as f:
json.dump(f, cookies)
json.dump(cookies, f)


def load_session(cookies):
Expand Down

0 comments on commit 5d763df

Please sign in to comment.