empresa-libre/source/app/seafileapi/__init__.py

6 lines
165 B
Python
Raw Normal View History

2020-01-07 00:32:48 -06:00
from seafileapi.client import SeafileApiClient
def connect(server, username, password):
client = SeafileApiClient(server, username, password)
return client