Remove module docstring
This commit is contained in:
@ -1,12 +1,3 @@
|
|||||||
"""Generate the HTML that makes this program useful.
|
|
||||||
|
|
||||||
This is what we will send to other people on Discord.
|
|
||||||
You can remove the .html with your web server, so the link will look normal.
|
|
||||||
For example, with nginx, you can do this(note the $uri.html):
|
|
||||||
location / {
|
|
||||||
try_files $uri $uri/ $uri.html;
|
|
||||||
}
|
|
||||||
"""
|
|
||||||
import os
|
import os
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from urllib.parse import urljoin
|
from urllib.parse import urljoin
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
"""Our site has one POST endpoint for uploading videos and one GET
|
|
||||||
endpoint for getting the HTML. Images are served from a web server."""
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
from urllib.parse import urljoin
|
from urllib.parse import urljoin
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
"""Read settings from environment variables."""
|
|
||||||
import os
|
import os
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
"""Stuff that has to do with videos."""
|
|
||||||
import sys
|
import sys
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
"""Things that has to do with video file uploading."""
|
|
||||||
import os
|
import os
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
"""Send webhook to Discord."""
|
|
||||||
from discord_webhook import DiscordWebhook
|
from discord_webhook import DiscordWebhook
|
||||||
|
|
||||||
from discord_embed import settings
|
from discord_embed import settings
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
"""Test webhook.py, the only thing we have right now is send_webhook()."""
|
|
||||||
from discord_embed.webhook import send_webhook
|
from discord_embed.webhook import send_webhook
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user