Compare commits

..

No commits in common. "f0953bfccc40325f047dea4a9959fcffbea349d1" and "26bac29b51a5198601e8f84704703634dd78188b" have entirely different histories.

View File

@ -6,7 +6,7 @@ log_dir = (Path(__file__).parent.parent / 'logs').resolve()
log_file = (log_dir / 'hub.log').resolve()
try:
if not os.path.isfile(log_file):
if not os.path.exists(log_dir):
if not os.path.exists:
os.mkdir(log_dir)
with open(log_file, 'x'):
pass