From 76a4fc8625ec46777db59f9989170e9e7c922ab5 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Mon, 2 Oct 2017 12:12:05 +0200 Subject: [PATCH] Add missing comma --- classes/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/connection.py b/classes/connection.py index e6c5608..8539d1c 100644 --- a/classes/connection.py +++ b/classes/connection.py @@ -63,7 +63,7 @@ class Connection: def changes(self): return max(len([service for service in self.services if service.name != "Walk"]) - 1, 0) if self.details else max(len([service for service in self.services[0].name.split("/") if service != "Walk"]) - 1, 0) - def xml(self, indent = 0, cid = False, frm = True, to = True, deptime = True, arrtime = True, duration = True, changes = True, services = True, via = True servicekwargs = {}, stationkwargs = {}): + def xml(self, indent = 0, cid = False, frm = True, to = True, deptime = True, arrtime = True, duration = True, changes = True, services = True, via = True, servicekwargs = {}, stationkwargs = {}): out = " " * indent + "\n" % ("" if cid is False else " id=\"%i\"" % cid) if frm: