From 4b4e82c22679d5516e5633826ac5461c9b876a9d Mon Sep 17 00:00:00 2001 From: cquest Date: Fri, 24 Jan 2025 15:07:58 +0100 Subject: [PATCH] shebang + cleanup imports --- tootbot.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tootbot.py b/tootbot.py index 355f98b..145f777 100755 --- a/tootbot.py +++ b/tootbot.py @@ -1,14 +1,7 @@ -import os.path -import sys -import re -import html -import time -import shutil +#! /bin/env python3 -import sqlite3 +import os.path, sys, re, time, shutil, sqlite3, json, subprocess from datetime import datetime, timedelta -import json -import subprocess import feedparser from mastodon import Mastodon