🐞 fix(PR*): push && pull previous commit

This commit is contained in:
Eshan Roy
2024-11-26 09:05:49 +05:30

View File

@@ -171,7 +171,7 @@ def get_latest_kernel_updates(self):
logger.info("Update Check Not Required!") logger.info("Update Check Not Required!")
return False return False
else: else:
logger.info("No Cache File Preset at the Moment!") logger.info("No Cache File Present at the Moment!")
if not os.path.exists(cache_update): if not os.path.exists(cache_update):
last_update_check = datetime.datetime.now().strftime("%Y-%m-%d") last_update_check = datetime.datetime.now().strftime("%Y-%m-%d")
with open(cache_update, mode="w", encoding="utf-8") as f: with open(cache_update, mode="w", encoding="utf-8") as f: