Commit ed6e45f3 authored by jay's avatar jay
Browse files

@lak comments

parent fb29a054
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ if config:
    Session = orm.session.sessionmaker(bind=engine)
else:
    def sessionwarn():
        raise RuntimeError('This call requires a database connection.')
        raise RuntimeError('Attempting to use a database session without a config file specified.')
    Session = sessionwarn
    engine = sessionwarn