summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-06-25 01:19:13 +0200
committerMartin Fischer <martin@push-f.com>2022-06-25 01:19:13 +0200
commitb8035e45ea4248b1f2f09786d092531043bc8123 (patch)
tree5ba4124a45ea2748fb00db8fc698573870aeee2b
parentbae65885a353e49fbb54a3310b6b5334d20e42ad (diff)
import Collection from typing to support Python 3.7
-rwxr-xr-xfetch_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch_data.py b/fetch_data.py
index aa3fa25..df88e31 100755
--- a/fetch_data.py
+++ b/fetch_data.py
@@ -2,7 +2,7 @@
import argparse
import sys
import json
-from collections.abc import Collection
+from typing import Collection
import pywikiapi
import mwparserfromhell