bpm-diag / smartRPA

MIT License
19 stars 2 forks source link

Remove Empty Screenshot folders after running of logger #27

Closed thohenadl closed 9 months ago

thohenadl commented 10 months ago
thohenadl commented 10 months ago

In GUI.py we should clean up the folders in the screenshot folder. If the folder is empty after the recording, there should not be a folder anymore as it creates only data overhead. ~ Probably around line 1149 in Gui.py

Folders should not be created if the users do not want recording of screenshots.

thohenadl commented 9 months ago

Completed with current push.

  1. There is always a screenshot folder created, when running the logger
  2. After running, in GUI, there is a check for the screenshot folder a) If the folder exists and is empty it is deleted b) If the folder exists and there are fils in it, it persists c) If the folder is not found nothing will be done