From 55e95e100e2f05ded51cfbce2afd0138588d718a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 10 Feb 2019 19:27:55 +0100 Subject: [PATCH] Fix the homepage not being displayed --- db.py | 3 ++- update.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/db.py b/db.py index ef4fb1a7..94b1862f 100644 --- a/db.py +++ b/db.py @@ -5,8 +5,9 @@ import coloredlogs from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, relationship from sqlalchemy.ext.hybrid import hybrid_property +# noinspection PyUnresolvedReferences from sqlalchemy import Column, BigInteger, Integer, String, DateTime, ForeignKey, Float, Enum, create_engine, \ - UniqueConstraint, PrimaryKeyConstraint, Boolean, LargeBinary, Text, Date + UniqueConstraint, PrimaryKeyConstraint, Boolean, LargeBinary, Text, Date, func from sqlalchemy.inspection import inspect import requests import errors diff --git a/update.sh b/update.sh index ca715b55..b5753dd1 100755 --- a/update.sh +++ b/update.sh @@ -2,6 +2,7 @@ # Requires SENTRY_AUTH_TOKEN and SENTRY_ORG set in .sentryclirc old=$(git rev-list HEAD -n 1) +git stash git pull git lfs pull new=$(git rev-list HEAD -n 1)