From 37d9add7f41d7c9a005c342c5b4a0e676b53d9c0 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Fri, 5 Jul 2019 22:09:41 +0200 Subject: [PATCH] Ran isort --- activitypub.py | 2 +- app.py | 2 +- utils/media.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/activitypub.py b/activitypub.py index 15e64cb..d293ba3 100644 --- a/activitypub.py +++ b/activitypub.py @@ -10,9 +10,9 @@ from typing import Dict from typing import List from typing import Optional -from dateutil import parser from bson.objectid import ObjectId from cachetools import LRUCache +from dateutil import parser from feedgen.feed import FeedGenerator from html2text import html2text from little_boxes import activitypub as ap diff --git a/app.py b/app.py index dbec07f..ce0efea 100644 --- a/app.py +++ b/app.py @@ -84,11 +84,11 @@ from config import USERNAME from config import VERSION from config import _drop_db from poussetaches import PousseTaches +from tasks import Tasks from utils import opengraph from utils.key import get_secret_key from utils.lookup import lookup from utils.media import Kind -from tasks import Tasks p = PousseTaches( os.getenv("MICROBLOGPUB_POUSSETACHES_HOST", "http://localhost:7991"), diff --git a/utils/media.py b/utils/media.py index aba132c..d2e3d42 100644 --- a/utils/media.py +++ b/utils/media.py @@ -6,11 +6,10 @@ from io import BytesIO from typing import Any from typing import Dict -from little_boxes import activitypub as ap - import gridfs import piexif import requests +from little_boxes import activitypub as ap from PIL import Image