obspy.core.util.base.sanitize_filename

sanitize_filename(filename)[source]

Adapted from Django’s slugify functions.

Parameters:

filename – The filename.