1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 02:17:38 +03:00

#2031 Revert Potential Bad Change

This commit is contained in:
David Sangrey 2023-07-22 21:04:03 -04:00
parent 3563084f67
commit 779318d86b
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

View File

@ -7,7 +7,7 @@ import time
import tkinter as tk
from calendar import timegm
from os.path import getsize, isdir, isfile
from typing import Any, Dict, Optional
from typing import Any, Dict
from config import config
from EDMCLogging import get_main_logger
@ -34,7 +34,7 @@ class Dashboard(FileSystemEventHandler):
def __init__(self) -> None:
FileSystemEventHandler.__init__(self) # futureproofing - not need for current version of watchdog
self.session_start: Optional[int] = None
self.session_start: int = int(time.time())
self.root: tk.Tk = None # type: ignore
self.currentdir: str = None # type: ignore # The actual logdir that we're monitoring
self.observer: Observer = None # type: ignore