mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-07 18:05:09 +00:00
Removed unnecessary warning
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import os
|
import os
|
||||||
import warnings
|
|
||||||
|
|
||||||
class DummySound:
|
class DummySound:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@@ -16,7 +15,6 @@ class DummySound:
|
|||||||
_IN_DOCKER = os.path.exists('/.dockerenv')
|
_IN_DOCKER = os.path.exists('/.dockerenv')
|
||||||
|
|
||||||
if _IN_DOCKER:
|
if _IN_DOCKER:
|
||||||
warnings.warn("Sound support disabled: running inside Docker.", RuntimeWarning)
|
|
||||||
Sound = DummySound
|
Sound = DummySound
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user