Skip to content

Commit ee72739

Browse files
authored
fix: fix scan issue (#165)
fix #160
1 parent ef27fd0 commit ee72739

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/burn/generate_danmakus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def get_resolution(in_video_path):
2626
print("The video resolution is " + resolution, flush=True)
2727
return resolution
2828
except subprocess.CalledProcessError as e:
29-
print(f"Error: {e.stderr}")
30-
return None
29+
print(f"Error: {e.stderr}", flush=True)
30+
return '1920x1080'
3131

3232
def process_danmakus(in_xml_path, resolution):
3333
"""Generate and process the danmakus according to different resolution.

0 commit comments

Comments
 (0)