We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c4d683 commit a8cc895Copy full SHA for a8cc895
flathunter/gmaps_duration_processor.py
@@ -24,6 +24,8 @@ def process_expose(self, expose):
24
25
def get_formatted_durations(self, address):
26
"""Return a formatted list of GoogleMaps durations"""
27
+ if address is None:
28
+ return ""
29
out = ""
30
for duration in self.config.get('durations', []):
31
if 'destination' in duration and 'name' in duration:
0 commit comments