missing sssj fix + setup.py
This commit is contained in:
parent
eb9377271b
commit
8105a174d5
5
requirements.txt
Normal file
5
requirements.txt
Normal file
@ -0,0 +1,5 @@
|
||||
requests~=2.24.0
|
||||
Flask~=1.1.2
|
||||
SQLAlchemy~=1.3.18
|
||||
setuptools~=49.2.0
|
||||
Werkzeug~=1.0.1
|
12
setup.py
Normal file
12
setup.py
Normal file
@ -0,0 +1,12 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='v25',
|
||||
version='',
|
||||
packages=['v25', 'v25.web', 'v25.web.client', 'v25.web.server', 'v25.storage', 'v25.messaging'],
|
||||
url='',
|
||||
license='',
|
||||
author='',
|
||||
author_email='',
|
||||
description=''
|
||||
)
|
@ -87,7 +87,7 @@ class DBStorage(AbstractStorage):
|
||||
Msg.sf == subject.vkey.encode(),
|
||||
Msg.st == subject.vkey.encode(),
|
||||
))
|
||||
query = query.with_entities(Msg.sf, Msg.st)
|
||||
query = query.with_entities(Msg.sf, Msg.st).distinct()
|
||||
contacts = set()
|
||||
for sf, st in query:
|
||||
contacts.add(sf)
|
||||
|
Loading…
Reference in New Issue
Block a user