mirror of
https://github.com/romanz/amodem.git
synced 2026-03-30 23:57:54 +08:00
fix imports
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import os
|
||||
from cStringIO import StringIO
|
||||
try:
|
||||
from cStringIO import StringIO as BytesIO
|
||||
except ImportError:
|
||||
from io import BytesIO # Python 3
|
||||
|
||||
import numpy as np
|
||||
|
||||
from amodem import send
|
||||
|
||||
Reference in New Issue
Block a user