Fixed an error raised when there were attempts to set volume before the URL Player has played something
This commit is contained in:
parent
a53a3d595c
commit
cbcc6f812a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user