Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -uN old/task.py new/task.py
- --- old/task.py 2022-06-10 13:13:00.107691400 +0800
- +++ new/task.py 2022-06-10 13:17:52.807987000 +0800
- @@ -158,8 +158,7 @@
- def siteEdate():
- global oldEdate
- try:
- - if not oldEdate:
- - oldEdate = ReadFile('/www/server/panel/data/edate.pl')
- + oldEdate = ReadFile('/www/server/panel/data/edate.pl')
- if not oldEdate:
- oldEdate = '0000-00-00'
- mEdate = time.strftime('%Y-%m-%d', time.localtime())
Advertisement
Add Comment
Please, Sign In to add comment