1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00

Import resellers

This commit is contained in:
topilski 2019-09-22 03:06:31 -04:00
parent a69a2960af
commit 10bb740ad8
5 changed files with 67 additions and 6 deletions

View file

@ -1,12 +1,9 @@
#!/usr/bin/env python3
from datetime import datetime
from app.common.subscriber.login.entry import SubscriberUser
from app.common.subscriber.entry import Device
from app.service.service import ServiceSettings
PROJECT_NAME = 'import_subscribers_from_xtream'
def import_subscribers_to_server(db, server: ServiceSettings):
cursor = db.cursor(dictionary=True)