diff options
Diffstat (limited to 'app/blueprints/packages/screenshots.py')
-rw-r--r-- | app/blueprints/packages/screenshots.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/blueprints/packages/screenshots.py b/app/blueprints/packages/screenshots.py index 9364469..40cf4d2 100644 --- a/app/blueprints/packages/screenshots.py +++ b/app/blueprints/packages/screenshots.py @@ -60,9 +60,9 @@ def create_screenshot(package, id=None): ss.approved = package.checkPerm(current_user, Permission.APPROVE_SCREENSHOT) db.session.add(ss) - msg = "{}: Screenshot added {}" \ - .format(package.title, ss.title) - addNotification(package.maintainers, current_user, msg, package.getDetailsURL()) + msg = "Screenshot added {}" \ + .format(ss.title) + addNotification(package.maintainers, current_user, msg, package.getDetailsURL(), package) db.session.commit() return redirect(package.getDetailsURL()) |