mirror of https://gitlab.com/bashrc2/epicyon
Checking year length
parent
5824f5768f
commit
6c1300039e
|
@ -392,7 +392,7 @@ def receive_remove_post(self, calling_domain: str, cookie: str,
|
|||
if self.post_to_nickname:
|
||||
if month_str and year_str:
|
||||
if len(month_str) <= 3 and \
|
||||
len(year_str) <= 3 and \
|
||||
len(year_str) <= 5 and \
|
||||
month_str.isdigit() and \
|
||||
year_str.isdigit():
|
||||
year_int = int(year_str)
|
||||
|
|
Loading…
Reference in New Issue