Private GIT

Skip to content
Snippets Groups Projects
Commit deaf6634 authored by miigotu's avatar miigotu
Browse files

Merge pull request #605 from SickRage/coderbone-network_timezone_load_thrashing

'is not' being used where '!=' should have been which causes the netw…
parents 0b857acc b8d0638e
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ def update_network_dict():
existing = network in network_list
if not existing:
queries.append(['INSERT OR IGNORE INTO network_timezones VALUES (?,?);', [network, timezone]])
elif network_list[network] is not timezone:
elif network_list[network] != timezone:
queries.append(['UPDATE OR IGNORE network_timezones SET timezone = ? WHERE network_name = ?;', [timezone, network]])
if existing:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment