Added configuration file class
This commit is contained in:
@ -25,7 +25,7 @@ config_file = "vcones.yaml"
|
||||
# audio stuff
|
||||
##############################################################################
|
||||
|
||||
vc_path = os.path.realpath(__file__)
|
||||
vc_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
def play_sound(file):
|
||||
wave_obj = sa.WaveObject.from_wave_file(vc_path + "/" + file)
|
||||
|
||||
Reference in New Issue
Block a user