Skip to content

Commit

Permalink
gs-server: fix RuntimeError: To use txaio, you must first select a fr…
Browse files Browse the repository at this point in the history
…amework with .use_twisted() or .use_asyncio()

Caused by an updated autobahn, probably.

Fixes #220
  • Loading branch information
ivan committed May 4, 2022
1 parent 24a6752 commit 4f2526d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libgrabsite/server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env python3

import txaio
txaio.use_asyncio()
import os
import json
import pprint
Expand Down

0 comments on commit 4f2526d

Please sign in to comment.