mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Ran isort
This commit is contained in:
parent
98a2f8dbf8
commit
37d9add7f4
3 changed files with 3 additions and 4 deletions
|
@ -10,9 +10,9 @@ from typing import Dict
|
||||||
from typing import List
|
from typing import List
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from dateutil import parser
|
|
||||||
from bson.objectid import ObjectId
|
from bson.objectid import ObjectId
|
||||||
from cachetools import LRUCache
|
from cachetools import LRUCache
|
||||||
|
from dateutil import parser
|
||||||
from feedgen.feed import FeedGenerator
|
from feedgen.feed import FeedGenerator
|
||||||
from html2text import html2text
|
from html2text import html2text
|
||||||
from little_boxes import activitypub as ap
|
from little_boxes import activitypub as ap
|
||||||
|
|
2
app.py
2
app.py
|
@ -84,11 +84,11 @@ from config import USERNAME
|
||||||
from config import VERSION
|
from config import VERSION
|
||||||
from config import _drop_db
|
from config import _drop_db
|
||||||
from poussetaches import PousseTaches
|
from poussetaches import PousseTaches
|
||||||
|
from tasks import Tasks
|
||||||
from utils import opengraph
|
from utils import opengraph
|
||||||
from utils.key import get_secret_key
|
from utils.key import get_secret_key
|
||||||
from utils.lookup import lookup
|
from utils.lookup import lookup
|
||||||
from utils.media import Kind
|
from utils.media import Kind
|
||||||
from tasks import Tasks
|
|
||||||
|
|
||||||
p = PousseTaches(
|
p = PousseTaches(
|
||||||
os.getenv("MICROBLOGPUB_POUSSETACHES_HOST", "http://localhost:7991"),
|
os.getenv("MICROBLOGPUB_POUSSETACHES_HOST", "http://localhost:7991"),
|
||||||
|
|
|
@ -6,11 +6,10 @@ from io import BytesIO
|
||||||
from typing import Any
|
from typing import Any
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
from little_boxes import activitypub as ap
|
|
||||||
|
|
||||||
import gridfs
|
import gridfs
|
||||||
import piexif
|
import piexif
|
||||||
import requests
|
import requests
|
||||||
|
from little_boxes import activitypub as ap
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue