diff options
Diffstat (limited to 'subreddit.py')
| -rwxr-xr-x | subreddit.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/subreddit.py b/subreddit.py index 219f59a..0360dea 100755 --- a/subreddit.py +++ b/subreddit.py @@ -1,4 +1,4 @@ -from imgurpython import ImgurClient +# from imgurpython import ImgurClient from operator import itemgetter import praw.models @@ -30,7 +30,7 @@ SUBREDDIT = REDDIT.subreddit(CONFIG["subreddit"]) COMMENT_TAIL = CONFIG["comment_tail"] FREE_FLAIRS = CONFIG["free_flairs"] -IMGUR = ImgurClient(**CONFIG["imgurapi"]) +# IMGUR = ImgurClient(**CONFIG["imgurapi"]) logging.basicConfig( format = "%(message)s", @@ -49,7 +49,8 @@ logging.basicConfig( # logger.addHandler(handler) def get_time(): - return time.strftime("%b %d %Y %H:%M:%S", time.gmtime()) + # return time.strftime("%b %d %Y %H:%M:%S", time.gmtime()) + return datetime.datetime.now().astimezone().isoformat() def display(message, concerning = None): logging.info(message) |
