trying to get it to run on manjaro linux
This commit is contained in:
@@ -55,3 +55,4 @@ config.yaml
|
|||||||
# virtualenv
|
# virtualenv
|
||||||
/venv/
|
/venv/
|
||||||
/py27/
|
/py27/
|
||||||
|
/py2/
|
||||||
|
|||||||
+3
-2
@@ -65,14 +65,14 @@ from rowers.dataprepnodjango import (
|
|||||||
add_c2_stroke_data_db,totaltime_sec_to_string,
|
add_c2_stroke_data_db,totaltime_sec_to_string,
|
||||||
create_c2_stroke_data_db,update_empower,
|
create_c2_stroke_data_db,update_empower,
|
||||||
database_url_debug,database_url,dataprep,
|
database_url_debug,database_url,dataprep,
|
||||||
# create_strava_stroke_data_db
|
# create_strava_stroke_data_db
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
from django.core.mail import (
|
from django.core.mail import (
|
||||||
send_mail,
|
send_mail,
|
||||||
EmailMessage,EmailMultiAlternatives,
|
EmailMessage,EmailMultiAlternatives,
|
||||||
)
|
)
|
||||||
|
|
||||||
from django.template import Context
|
from django.template import Context
|
||||||
from django.db.utils import OperationalError
|
from django.db.utils import OperationalError
|
||||||
@@ -128,6 +128,7 @@ def handle_c2_import_stroke_data(c2token,
|
|||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
url = "https://log.concept2.com/api/users/me/results/"+str(c2id)
|
url = "https://log.concept2.com/api/users/me/results/"+str(c2id)
|
||||||
|
|
||||||
s = requests.get(url,headers=headers)
|
s = requests.get(url,headers=headers)
|
||||||
|
|
||||||
if s.status_code == 200:
|
if s.status_code == 200:
|
||||||
|
|||||||
Reference in New Issue
Block a user