Skip to content

Commit

Permalink
Add missing import.
Browse files Browse the repository at this point in the history
  • Loading branch information
glogiotatidis committed Nov 27, 2015
1 parent 1d53d29 commit 4301635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import os
import sys
from time import sleep
from urlparse import urlparse

import click
import telegram
Expand Down Expand Up @@ -123,6 +122,8 @@ def main(webserver):

if webserver:
import json
from urlparse import urlparse

from bottle import request, route, run

if not config.webhook:
Expand Down
2 changes: 0 additions & 2 deletions database.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def add(self, message_id, user_id, date, amount, reason=''):

self._p_changed__ = True


def get_entries(self, from_date=None, to_date=None):
if from_date and to_date and from_date > to_date:
return []
Expand Down Expand Up @@ -109,7 +108,6 @@ def get_total(self, from_date=None, to_date=None):
return total



class DB(object):

def __init__(self):
Expand Down

0 comments on commit 4301635

Please sign in to comment.