mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Except filenotfound
This commit is contained in:
parent
eefbc81538
commit
f26606a0cd
@ -808,7 +808,7 @@ class TasksManager:
|
|||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
os.remove(os.path.join(file))
|
os.remove(os.path.join(file))
|
||||||
except:
|
except FileNotFoundError:
|
||||||
logger.debug("Could not clear out file from temp directory")
|
logger.debug("Could not clear out file from temp directory")
|
||||||
|
|
||||||
for file in os.listdir(
|
for file in os.listdir(
|
||||||
@ -819,7 +819,7 @@ class TasksManager:
|
|||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
os.remove(os.path.join(file))
|
os.remove(os.path.join(file))
|
||||||
except:
|
except FileNotFoundError:
|
||||||
logger.debug("Could not clear out file from import directory")
|
logger.debug("Could not clear out file from import directory")
|
||||||
|
|
||||||
def log_watcher(self):
|
def log_watcher(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user