Fix dynamic-colors script
fixes UnboundLocalError: local variable 'src' referenced before assignment
This commit is contained in:
parent
e4cbda4cd9
commit
63a2ce64e8
1 changed files with 4 additions and 4 deletions
|
|
@ -84,10 +84,10 @@ let
|
|||
if target.exists() and target.is_symlink:
|
||||
os.remove(target)
|
||||
|
||||
src = {
|
||||
'light': entry['light'],
|
||||
'dark': entry['dark'],
|
||||
}[scheme]
|
||||
src = {
|
||||
'light': entry['light'],
|
||||
'dark': entry['dark'],
|
||||
}[scheme]
|
||||
|
||||
os.symlink(src, target)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue