Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5e741f1

Browse files
authored
Merge pull request pcko1#16 from EggPool/patch-1
Fallback to backport
2 parents c3262d8 + 7bf3e63 commit 5e741f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

etherscan/etherscan.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import json
2-
from importlib import resources
2+
try:
3+
from importlib import resources
4+
except ImportError:
5+
import importlib_resources as resources
36

47
import requests
58

0 commit comments

Comments
 (0)