move things like IRCBot.VERSION to before imports (for utils.http)
This commit is contained in:
parent
1823371380
commit
11c3104d02
1 changed files with 6 additions and 5 deletions
|
@ -1,13 +1,14 @@
|
|||
VERSION: str = ""
|
||||
with open("VERSION", "r") as version_file:
|
||||
VERSION = "v%s" % version_file.read().strip()
|
||||
SOURCE: str = "https://git.io/bitbot"
|
||||
URL: str = "https://bitbot.dev"
|
||||
|
||||
import enum, queue, os, queue, select, socket, sys, threading, time, traceback
|
||||
import typing, uuid
|
||||
from src import EventManager, Exports, IRCServer, Logging, ModuleManager
|
||||
from src import PollHook, PollSource, Socket, Timers, utils
|
||||
|
||||
with open("VERSION", "r") as version_file:
|
||||
VERSION = "v%s" % version_file.read().strip()
|
||||
SOURCE = "https://git.io/bitbot"
|
||||
URL = "https://bitbot.dev"
|
||||
|
||||
class TriggerResult(enum.Enum):
|
||||
Return = 1
|
||||
Exception = 2
|
||||
|
|
Loading…
Reference in a new issue