Browse Source

FIX flake8

pull/483/head
ralwafaie 8 years ago
parent
commit
99a9dc030f
  1. 2
      base_location_nuts/wizard/nuts_import.py

2
base_location_nuts/wizard/nuts_import.py

@ -119,7 +119,7 @@ class NutsImport(models.TransientModel):
logger.info('Starting to download %s' % url)
try:
res_request = requests.get(url)
except Exception, e:
except Exception as e:
raise UserError(
_('Got an error when trying to download the file: %s.') %
str(e))

Loading…
Cancel
Save