fix weird formatting
This commit is contained in:
parent
a337b754a8
commit
05cd1bfb32
|
@ -1,14 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import asyncio
|
import asyncio, json, os, re, sys, traceback, discord, requests, time
|
||||||
import json
|
|
||||||
import os
|
|
||||||
import re
|
|
||||||
import sys
|
|
||||||
import traceback
|
|
||||||
import discord
|
|
||||||
import requests
|
|
||||||
import time
|
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from bot_utils import setup, send_msg
|
from bot_utils import setup, send_msg
|
||||||
|
|
||||||
|
@ -233,8 +225,6 @@ def contains_string(string_to_check, string_to_find):
|
||||||
return string_to_find in string_to_check
|
return string_to_find in string_to_check
|
||||||
|
|
||||||
# check_alerts checks the alerts returned from siad's daemon/alerts API
|
# check_alerts checks the alerts returned from siad's daemon/alerts API
|
||||||
|
|
||||||
|
|
||||||
async def check_alerts():
|
async def check_alerts():
|
||||||
print("\nChecking portal siad alerts...")
|
print("\nChecking portal siad alerts...")
|
||||||
|
|
||||||
|
@ -302,8 +292,6 @@ async def check_alerts():
|
||||||
|
|
||||||
# check_portal_size checks the number of files that the portal is managing to
|
# check_portal_size checks the number of files that the portal is managing to
|
||||||
# determine if it is time to rotate it out
|
# determine if it is time to rotate it out
|
||||||
|
|
||||||
|
|
||||||
async def check_portal_size():
|
async def check_portal_size():
|
||||||
print("\nChecking portal size...")
|
print("\nChecking portal size...")
|
||||||
|
|
||||||
|
|
Reference in New Issue