Nothing to test up to now ...

This commit is contained in:
Homer S. 2021-07-06 23:05:04 +02:00
parent dfe3543777
commit fe2ce2b420
2 changed files with 6 additions and 2 deletions

View File

@ -32,7 +32,7 @@ def build_download_url(mid, tam=0):
recording = "rec." + str(tam) + r"." + str(mid).zfill(3) recording = "rec." + str(tam) + r"." + str(mid).zfill(3)
url = os.path.join("//",env_ip,env_voicebox,"rec",recording) url = os.path.join("//",env_ip,env_voicebox,"rec",recording)
return url return url
def download_speex_file(smb_url): def download_speex_file(smb_url):
smbclient.register_session(server=env_ip, username=env_user, password=env_pass, auth_protocol="ntlm") smbclient.register_session(server=env_ip, username=env_user, password=env_pass, auth_protocol="ntlm")
fd = smbclient.open_file(smb_url, mode="rb") fd = smbclient.open_file(smb_url, mode="rb")

View File

@ -1 +1,5 @@
from .context import fritzab2matrix from context import fritzab2matrix as fab2m