mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 12:22:20 +01:00
fix typing
This commit is contained in:
@@ -80,7 +80,7 @@ def replace_file_content(text, pattern, repl):
|
||||
return content_new, count
|
||||
|
||||
|
||||
def storage_should_clean(old: StorageJSON, new: StorageJSON) -> bool:
|
||||
def storage_should_clean(old: StorageJSON | None, new: StorageJSON) -> bool:
|
||||
if old is None:
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user