Skip to content

Commit

Permalink
Update dispatch to version 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Razvan Nesiu committed May 23, 2019
1 parent 502355b commit 6addc3f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dispatch/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.6.0'
__version__ = '0.6.1'

2 changes: 1 addition & 1 deletion dispatch/modules/content/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def save_thumbnail(self, image, size, name, label, file_type):

# If image is larger than thumbnail size, resize image
if (imw > width) or (imh > height):
image.thumbnail(size, Img.ANTIALIAS)
image.thumbnail(size, Img.LANCZOS)

# Attach new thumbnail label to image filename
name = "%s-%s.jpg" % (name, label)
Expand Down
2 changes: 1 addition & 1 deletion dispatch/static/manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dispatch",
"version": "0.6.0",
"version": "0.6.1",
"description": "The frontend framework for the Dispatch publishing platform.",
"author": "Peter Siemens <[email protected]>",
"homepage": "https://www.ubyssey.ca",
Expand Down
2 changes: 1 addition & 1 deletion dispatch/static/manager/src/js/components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Header extends React.Component {
<header className='c-header'>
<nav className='bp3-navbar bp3-dark'>
<div className='bp3-navbar-group bp3-align-left'>
{this.renderLink('/', 'nav-logo', 'selection', 'dispatch', '0.6.0')}
{this.renderLink('/', 'nav-logo', 'selection', 'dispatch', '0.6.1')}
<span className='bp3-navbar-divider' />
<HeaderButtons goTo={this.props.goTo} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

setup(name='dispatch',
version='0.6.0',
version='0.6.1',
description='A publishing platform for modern newspapers',
url='https://github.com/ubyssey/dispatch',
author='Peter Siemens',
Expand Down

0 comments on commit 6addc3f

Please sign in to comment.