1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00
This commit is contained in:
topilski 2020-02-16 13:15:58 -05:00
parent 5dcf23f66a
commit ee48d273b6
18 changed files with 117 additions and 58 deletions

View file

@ -2,7 +2,7 @@
import argparse
import os
import sys
from mongoengine import connect
from pymodm import connect
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
@ -16,7 +16,7 @@ if __name__ == '__main__':
argv = parser.parse_args()
mongo = connect(host=argv.mongo_uri)
mongo = connect(uri=argv.mongo_uri)
if mongo:
streams = IStream.objects()
f = open("out.m3u", "w")