aboutsummaryrefslogtreecommitdiff
path: root/tests/assets/MyTourbook_1.gpx.gz
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-07-17 20:54:28 +0200
committerDaniel Schadt <kingdread@gmx.de>2022-07-17 20:54:28 +0200
commit7e86285887866ed10bc9868a0f9aa3b5e5094aba (patch)
tree226c542771937b92c28dd76b6b4e74435cd42a72 /tests/assets/MyTourbook_1.gpx.gz
parentb9bbeafafb1f0750e4adaf12462b86094a5cad25 (diff)
downloadfietsboek-7e86285887866ed10bc9868a0f9aa3b5e5094aba.tar.gz
fietsboek-7e86285887866ed10bc9868a0f9aa3b5e5094aba.tar.bz2
fietsboek-7e86285887866ed10bc9868a0f9aa3b5e5094aba.zip
track: don't fail when id is not set
This is just debug logging information, but accessing self.id for an object that is not in the database raises an error, because self.id is None and %d cannot format None. In this case, we simply use -1 as id instead.
Diffstat (limited to 'tests/assets/MyTourbook_1.gpx.gz')
0 files changed, 0 insertions, 0 deletions