Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
yuannan committed Feb 19, 2021
1 parent b56cda2 commit fd29709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panon/backend/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def update_smart_device(self, ):
l = s.decode(errors='ignore').split('\t')
new_id = l[1]

if name is not None:
if new_id is not None:
if not self.smart_device_id == new_id:
self.smart_device_id = new_id
for stream in self.streams:
Expand Down

0 comments on commit fd29709

Please sign in to comment.