Skip to content

Commit

Permalink
Replaces matriz_order with ampty string if None. Fixes #99
Browse files Browse the repository at this point in the history
  • Loading branch information
alephcero committed Aug 31, 2023
1 parent 500416f commit ec9d1e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions urbantrips/viz/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -1438,6 +1438,9 @@ def traigo_zonificacion(viajes,
except KeyError:
matriz_order = ""

if matriz_order is None:
matriz_order = ""

if var_zona in zonas.columns:
matriz_zonas += [[file_zona, var_zona, matriz_order]]
vars_zona += [var_zona]
Expand Down

0 comments on commit ec9d1e1

Please sign in to comment.