generated from pavel.muhortov/template-bash
fixed link corruption when the year is published
This commit is contained in:
parent
b06619e6a0
commit
cd26b947cf
|
@ -3813,7 +3813,7 @@ class Publish:
|
||||||
if period == 'm' or period == 'month':
|
if period == 'm' or period == 'month':
|
||||||
reg_exp = "_(?:[0-9]{4}|yyyy).(?:[0-9]{2}|mm_)(?:|-[0-9]).mp4"
|
reg_exp = "_(?:[0-9]{4}|yyyy).(?:[0-9]{2}|mm_)(?:|-[0-9]).mp4"
|
||||||
if period == 'y' or period == 'year':
|
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
|
replace = 0
|
||||||
new_str = link
|
new_str = link
|
||||||
|
|
Loading…
Reference in New Issue
Block a user