summaryrefslogtreecommitdiffstats
path: root/core/views/uploads.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-23 16:20:56 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-23 16:20:56 +0200
commit219637e215e0b5a27544519d606ca68062fb2266 (patch)
tree379830e06391c6a2550cad3633f870514fb6d13d /core/views/uploads.py
parent957f78b1a38bc5f852d7817c76792d4ac7e45a6b (diff)
downloadtroggle-219637e215e0b5a27544519d606ca68062fb2266.tar.gz
troggle-219637e215e0b5a27544519d606ca68062fb2266.tar.bz2
troggle-219637e215e0b5a27544519d606ca68062fb2266.zip
bug
Diffstat (limited to 'core/views/uploads.py')
-rw-r--r--core/views/uploads.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/uploads.py b/core/views/uploads.py
index 6a45e08..9678c5c 100644
--- a/core/views/uploads.py
+++ b/core/views/uploads.py
@@ -340,7 +340,7 @@ def logbookedit(request, year=None, slug=None):
# This is a hack, why can we not reproduce this bug on the dev system?
if len(slug) < 7:
slug = ""
- if prev_slug < 7:
+ if len(prev_slug) < 7:
prev_slug = ""
if not prev_slug and not slug: