Commit 9bf04287 authored by Volker Krause's avatar Volker Krause
Browse files

Don't fail on GBFS system id collisions we can't resolve

This can happen when feeds appear in the NABSA systems.csv that we also
have in our own feed list and both use different URLs that after version
discovery end up pointing to the same URL.
parent 9e052af6
......@@ -181,9 +181,8 @@ void GBFSProbe::checkDuplicateSystemIds()
}
}
if (!m_gbfsFeeds.isEmpty()) {
assert(!m_syntheticSystemId);
qWarning() << "Feeds with colliding system ids:" << m_gbfsFeeds;
qWarning() << "Feeds with colliding system ids:" << m_gbfsFeeds.size() << m_gbfsFeeds;
if (!m_gbfsFeeds.isEmpty() && !m_syntheticSystemId) {
m_syntheticSystemId = true;
m_currentFeedIdx = -1;
m_throttleTime = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment