diff --git a/cctv-scheduler.py b/cctv-scheduler.py index b6b60d8..a719b2b 100644 --- a/cctv-scheduler.py +++ b/cctv-scheduler.py @@ -3813,7 +3813,7 @@ class Publish: if period == 'm' or period == 'month': reg_exp = "_(?:[0-9]{4}|yyyy).(?:[0-9]{2}|mm_)(?:|-[0-9]).mp4" if period == 'y' or period == 'year': - reg_exp = "_(?:[0-9]{4}|yyyy)(?:|-[0-9])" + reg_exp = "_(?:[0-9]{4}|yyyy)(?:|-[0-9]).mp4" replace = 0 new_str = link