Move code into grzegorz_clients folder in preperation of making this into a pytohn module

This commit is contained in:
Peder Bergebakken Sundt 2018-03-03 00:41:14 +01:00
parent 029fe7884f
commit be484767c5
5 changed files with 8 additions and 7 deletions

View File

@ -0,0 +1,2 @@
from . import api
from . import gui

View File

@ -1,7 +1,7 @@
import requests, json
from urllib.parse import urlencode
from functools import wraps
import api
from . import api
# This must be set to be able to use it on remote hosts
BASE_URL = "http://localhost:8080/api"

View File

@ -2,9 +2,8 @@ import random, os, time, shutil, sys
from threading import Timer
import remi.gui as gui
from remi import App
from utils import Namespace, call_as_thread, get_youtube_metadata
import api
from .utils import Namespace, call_as_thread, get_youtube_metadata
from . import api
#globals:
COLOR_BLUE = "rgb(33, 150, 243)"

View File

@ -1,8 +1,8 @@
#!/usr/bin/env python3
from remi import start
import os
import api
import gui
from remi import start
from grzegorz_clients import api, gui
# config must be a object with the attributes seen in default_config.py:
def main(config):