CC-3012: Media-monitor crash: "Exception: list index out of range"
-fixed
This commit is contained in:
parent
7548abc1b1
commit
b14f2e894d
1 changed files with 2 additions and 2 deletions
|
@ -166,9 +166,9 @@ class AirtimeMetadata:
|
|||
#check if file has any metadata
|
||||
if file_info is not None:
|
||||
for key in file_info.keys() :
|
||||
if key in self.mutagen2airtime :
|
||||
if key in self.mutagen2airtime and len(file_info[key]) > 0:
|
||||
info = file_info[key][0]
|
||||
while 1:
|
||||
while True:
|
||||
temp = re.search(u"[\x80-\x9f]", info)
|
||||
if temp is not None:
|
||||
s = temp.group(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue