mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Fix saving mobile device with blank friendly name
This commit is contained in:
parent
763e5f583a
commit
fa61302954
1 changed files with 1 additions and 4 deletions
|
@ -97,10 +97,7 @@ def set_mobile_device_config(mobile_device_id=None, **kwargs):
|
|||
return False
|
||||
|
||||
keys = {'id': mobile_device_id}
|
||||
values = {}
|
||||
|
||||
if kwargs.get('friendly_name'):
|
||||
values['friendly_name'] = kwargs['friendly_name']
|
||||
values = {'friendly_name': kwargs.get('friendly_name', '')}
|
||||
|
||||
db = database.MonitorDatabase()
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue