more work on api

master
Kevin Froman 2018-01-11 03:04:12 -06:00
parent 6c61626e0f
commit 0c6d1ed790
1 changed files with 3 additions and 1 deletions

4
api.py
View File

@ -15,7 +15,7 @@
'''
import flask
from flask import request, Response, abort
import configparser, sys, random, threading, hmac, hashlib, base64, time, math, gnupg
import configparser, sys, random, threading, hmac, hashlib, base64, time, math, gnupg, os
from core import Core
'''
@ -96,6 +96,8 @@ class API:
# Public means it is publicly network accessible
self.validateHost('public')
action = request.args.get('action')
requestingPeer = request.args.get('myID')
if action == 'firstConnect':
pass