Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

prune references to dead sync_with_balanced #3642

Merged
merged 2 commits into from
Jul 27, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions gratipay/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ def payday():
# ===============

env = wireup.env()
db = wireup.db(env)

wireup.db(env)
wireup.billing(env)


Expand All @@ -19,11 +18,9 @@ def payday():
# This dodges a problem where db in billing is None if we import it from
# gratipay before calling wireup.billing.

from gratipay.billing.exchanges import sync_with_balanced
from gratipay.billing.payday import Payday

try:
sync_with_balanced(db)
Payday.start().run()
except KeyboardInterrupt:
pass
Expand Down