Commit 851c5f1b authored by Thorfin89's avatar Thorfin89

Update main.py

parent 1d82db4f
......@@ -42,7 +42,8 @@ class Radio(Pupitre):
self.player.audio_set_volume(0)
def radio_sound(self): # rétablissement du son
config_file = open("webradiopi.cfg", "r") # on charge configuration sauvegardée
# on charge configuration sauvegardée
config_file = open("webradiopi.cfg", "r")
volume_init = int(config_file.read())
config_file.close()
self.player.audio_set_volume(volume_init)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment