diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index abdd41d9..8fcb2d20 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -43,7 +43,6 @@ def main(): global app datastore_path = None - do_cleanup = False host = '' ipv6_enabled = False port = os.environ.get('PORT') or 5000 @@ -91,10 +90,6 @@ def main(): logger.success("Enabling IPv6 listen support") ipv6_enabled = True - # Cleanup (remove text files that arent in the index) - if opt == '-c': - do_cleanup = True - # Create the datadir if it doesnt exist if opt == '-C': create_datastore_dir = True