iati-data-access / iati-flattener

Library to flatten IATI data
GNU Affero General Public License v3.0
1 stars 3 forks source link

Remove use of deprecated escape sequence #14

Open simon-20 opened 1 year ago

simon-20 commented 1 year ago
iatiflattener/group_data.py:170
  iati-data-access---iati-flattener/iatiflattener/group_data.py:170: DeprecationWarning: invalid escape sequence \d
    country_or_region = {True: 'region', False: 'country'}[re.match('^\d*$', country_code) is not None]