From da97936b1de3e3aa03755f47aeacfadcd1fa7a89 Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Fri, 7 Oct 2022 21:50:24 +0300 Subject: [PATCH] linux dependencies --- Sources/pyOpenRPA/Robot/Audio.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/pyOpenRPA/Robot/Audio.py b/Sources/pyOpenRPA/Robot/Audio.py index b1bab0fe..63a3339a 100644 --- a/Sources/pyOpenRPA/Robot/Audio.py +++ b/Sources/pyOpenRPA/Robot/Audio.py @@ -1,8 +1,8 @@ -import pyaudio -from pydub import AudioSegment +from pyOpenRPA.Tools import CrossOS +if CrossOS.IS_WINDOWS_BOOL: import pyaudio +if CrossOS.IS_WINDOWS_BOOL: from pydub import AudioSegment import threading -import wave import time from pyOpenRPA.Utils import Text import os