|
|
@ -436,8 +436,7 @@ class MyEventHandler(pyinotify.ProcessEvent): |
|
|
|
if close_reload and siteInfo['open']: |
|
|
|
if close_reload and siteInfo['open']: |
|
|
|
continue |
|
|
|
continue |
|
|
|
if sys.version_info[0] == 2: |
|
|
|
if sys.version_info[0] == 2: |
|
|
|
print( |
|
|
|
print("【{}】|-Unlock website[{}]".format(mw.formatDate(), siteInfo['siteName'])), |
|
|
|
"【{}】|-Unlock website[{}]".format(mw.formatDate(), siteInfo['siteName'])), |
|
|
|
|
|
|
|
else: |
|
|
|
else: |
|
|
|
os.system("echo -e '{}|-Unlock website[{}]\c'".format(mw.formatDate(), siteInfo['siteName'])) |
|
|
|
os.system("echo -e '{}|-Unlock website[{}]\c'".format(mw.formatDate(), siteInfo['siteName'])) |
|
|
|
#print("【{}】|-解锁网站[{}]".format(mw.format_date(),siteInfo['siteName']),end=" ") |
|
|
|
#print("【{}】|-解锁网站[{}]".format(mw.format_date(),siteInfo['siteName']),end=" ") |
|
|
|