You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
e.g.
a = Syncthing(api_key=1, ...)
b = Syncthing(api_key=2, ...)
Results in calls from object a (e.g. a.sys.config()) to get b's config rather than the expected a's config.
The issue is caused by the C class having a static variable C.iface which gets overridden when a new Syncthing object is created. As a result, when object a tries to make a new api call, it uses b's iface variable.
The text was updated successfully, but these errors were encountered:
e.g.
a = Syncthing(api_key=1, ...)
b = Syncthing(api_key=2, ...)
Results in calls from object a (e.g. a.sys.config()) to get b's config rather than the expected a's config.
The issue is caused by the C class having a static variable C.iface which gets overridden when a new Syncthing object is created. As a result, when object a tries to make a new api call, it uses b's iface variable.
The text was updated successfully, but these errors were encountered: