Skip to content

Commit

Permalink
make fix
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Nov 13, 2018
1 parent f8bc49d commit 6b9f3bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions app/app/sitemaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class StaticViewSitemap(sitemaps.Sitemap):
def items(self):
return [
'dashboard', 'new_funding', 'tip', 'terms', 'privacy', 'cookie', 'prirp', 'apitos', 'about', 'index',
'help', 'whitepaper', 'whitepaper_access', '_leaderboard', 'faucet', 'mission', 'slack',
'universe_index', 'results', 'activity', 'kudos_main', 'kudos_marketplace'
'help', 'whitepaper', 'whitepaper_access', '_leaderboard', 'faucet', 'mission', 'slack', 'universe_index',
'results', 'activity', 'kudos_main', 'kudos_marketplace'
]

def location(self, item):
Expand Down Expand Up @@ -80,7 +80,6 @@ def location(self, item):
return f'/results/{item}'



sitemaps = {
'results': ResultsSitemap,
'static': StaticViewSitemap,
Expand Down
8 changes: 4 additions & 4 deletions app/avatar/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,8 @@ def convert_img(obj, input_fmt='svg', output_fmt='png'):
pass
except Exception as e:
logger.error(
'Exception encountered in convert_img - Error: (%s) - input: (%s) - output: (%s)',
str(e), input_fmt, output_fmt
'Exception encountered in convert_img - Error: (%s) - input: (%s) - output: (%s)', str(e), input_fmt,
output_fmt
)
return None

Expand Down Expand Up @@ -470,7 +470,7 @@ def convert_wand(img_obj, input_fmt='png', output_fmt='svg'):
return tmpfile_io
except Exception as e:
logger.error(
'Exception encountered in convert_wand - Error: (%s) - input: (%s) - output: (%s)',
str(e), input_fmt, output_fmt
'Exception encountered in convert_wand - Error: (%s) - input: (%s) - output: (%s)', str(e), input_fmt,
output_fmt
)
return None
1 change: 0 additions & 1 deletion app/gas/management/commands/sync_gas_prices.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,3 @@ def handle(self, *args, **options):
)
except KeyError:
logger.warning('In: sync_gas_prices - Malformed response - Code: %s', response.status_code)

0 comments on commit 6b9f3bd

Please sign in to comment.