Filename sanitized
This commit is contained in:
parent
466f9a0b7d
commit
40413b15b2
1 changed files with 3 additions and 2 deletions
|
@ -166,8 +166,9 @@ class RecServer:
|
|||
rec.filename,
|
||||
'rec': rec
|
||||
}
|
||||
rec.filename = 'ror-%s-%s.mp3' % (rec.starttime.strftime('%s'),
|
||||
rec.name)
|
||||
rec.filename = 'ror-%s-%s.mp3' % \
|
||||
(rec.starttime.strftime('%y%m%d_%H%M'),
|
||||
filter(lambda c: c.isalpha(), rec.name))
|
||||
self.db.update(rec.id, rec.serialize())
|
||||
job_id = get_process_queue().submit(
|
||||
create_mp3,
|
||||
|
|
Loading…
Reference in a new issue