Commit 45618ddd authored by Cody Zacharias's avatar Cody Zacharias Committed by GitHub

Update output.py

parent b9276608
......@@ -170,11 +170,7 @@ async def getUser(user):
return u
def getOutput(Tweet, config, conn):
if config.Users_only:
output = Tweet.username
elif config.Tweets_only:
output = Tweet.tweet
elif config.Format:
if config.Format:
output = config.Format.replace("{id}", Tweet.id)
output = output.replace("{date}", Tweet.datestamp)
output = output.replace("{time}", Tweet.timestamp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment