Skip to content

Commit

Permalink
Python 3.10 compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martinohanlon committed Oct 31, 2021
1 parent d0a5a29 commit 0a57696
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MyAdventures/mcpi/util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import collections
try:
import collections.abc as collections
except ImportError:
import collections as collections

def flatten(l):
for e in l:
Expand Down

0 comments on commit 0a57696

Please sign in to comment.