diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-01-23 18:56:25 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-01-23 18:56:25 -0500 |
| commit | 9494ff9cb0e917fb11d2281fe0ffb04a8c40b6db (patch) | |
| tree | 0d31cc646f3813b00375d70b7659e698216310eb /app | |
| parent | 78437d6f8afd75544a94d033ee4fb38dfe7c1914 (diff) | |
| download | dispatch-tracker-9494ff9cb0e917fb11d2281fe0ffb04a8c40b6db.tar.gz dispatch-tracker-9494ff9cb0e917fb11d2281fe0ffb04a8c40b6db.tar.xz | |
Don't allow slases in filnames, I really need to do a better job of parsing this bullshit
Diffstat (limited to 'app')
| -rw-r--r-- | app/dispatch/misc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/dispatch/misc.py b/app/dispatch/misc.py index 42b00d3..7bcdaa8 100644 --- a/app/dispatch/misc.py +++ b/app/dispatch/misc.py @@ -63,6 +63,7 @@ def zip_attachments_for_loads(loads, pre_append, date): ext = '.pdf' desc = l.description.replace('"', '') + desc = l.description.replace('/', '--') # Get the name for the zip file zipname = desc + '-' + l.user.identity.name + ext |
