Fixed an error raised when there were attempts to set volume before the URL Player has played something

This commit is contained in:
Manuel Cortez 2019-01-22 16:40:00 -06:00
parent a53a3d595c
commit cbcc6f812a

View File

@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import sys
import random
import output
@ -95,7 +94,6 @@ class audioPlayer(object):
@property
def volume(self):
if self.stream != None:
return self.vol
@volume.setter