mirror of
https://github.com/facefusion/facefusion.git
synced 2026-07-30 22:07:23 +02:00
Remove default values
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ from facefusion.typing import Content
|
||||
def read_json(json_path : str) -> Optional[Content]:
|
||||
if is_file(json_path):
|
||||
try:
|
||||
with open(json_path, 'r') as json_file:
|
||||
with open(json_path) as json_file:
|
||||
return json.load(json_file)
|
||||
except JSONDecodeError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user