Add distro package

This commit is contained in:
samwiseg0 2018-12-04 20:14:55 -05:00
parent d807cf1b07
commit 87fea6db06
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,7 @@ import schedule
import threading
import sys
import platform
import distro
from sys import exit
from time import sleep
@ -17,7 +18,7 @@ from varken.ombi import OmbiAPI
from varken.dbmanager import DBManager
from varken.varkenlogger import VarkenLogger
PLATFORM_LINUX_DISTRO = ' '.join(x for x in platform.linux_distribution() if x)
PLATFORM_LINUX_DISTRO = ' '.join(x for x in distro.linux_distribution() if x)
def threaded(job):
thread = threading.Thread(target=job)

View file

@ -5,4 +5,5 @@
requests>=2.20.1
geoip2>=2.9.0
influxdb>=5.2.0
schedule>=0.5.0
schedule>=0.5.0
distro>=1.3.0