mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 19:45:46 +00:00
Style fixes
This commit is contained in:
@ -18,7 +18,7 @@ class SettingsAdmin(ImportExportModelAdmin):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
if obj:
|
if obj:
|
||||||
return ['key',]
|
return ['key']
|
||||||
else:
|
else:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ class UserSettingsAdmin(ImportExportModelAdmin):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
if obj:
|
if obj:
|
||||||
return ['key',]
|
return ['key']
|
||||||
else:
|
else:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user