diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/cli.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -20,6 +20,7 @@ from cli.objects.center import OgCenter from cli.objects.room import OgRoom from cli.objects.folder import OgFolder from cli.objects.session import OgSession +from config import cfg import argparse import requests import sys @@ -77,7 +78,7 @@ class OgREST(): class OgCLI(): - def __init__(self, cfg): + def __init__(self): self.rest = OgREST(cfg['ip'], cfg['port'], cfg['api_token']) def list(self, args): |