Commit 4b65a302 authored by Mindiell's avatar Mindiell

Removed some print comments

parent fae4e862
...@@ -164,7 +164,7 @@ class Wantzel(object): ...@@ -164,7 +164,7 @@ class Wantzel(object):
""" """
# Cleaning user name # Cleaning user name
user = re.search("([^!]*)!", user).group(1) user = re.search("([^!]*)!", user).group(1)
print("Message received: %s %s %s" % (user, channel, msg)) #print("Message received: %s %s %s" % (user, channel, msg))
# Whatever is done, get the title of an existing url in a message # Whatever is done, get the title of an existing url in a message
title = "" title = ""
if "http" in msg: if "http" in msg:
...@@ -395,7 +395,7 @@ class Wantzel(object): ...@@ -395,7 +395,7 @@ class Wantzel(object):
names = [name for name in result.group(1).split(", ") if name!=""] names = [name for name in result.group(1).split(", ") if name!=""]
names.append(result.group(3)) names.append(result.group(3))
names = set(names) names = set(names)
print(names) #print(names)
connection = sqlite3.connect(config.sqlite_db) connection = sqlite3.connect(config.sqlite_db)
for name in names: for name in names:
connection.execute("DELETE FROM moderator WHERE name=?", (name, )) connection.execute("DELETE FROM moderator WHERE name=?", (name, ))
...@@ -452,8 +452,8 @@ class Wantzel(object): ...@@ -452,8 +452,8 @@ class Wantzel(object):
entry.title.encode("utf-8"), entry.title.encode("utf-8"),
entry.link.encode("utf-8") entry.link.encode("utf-8")
)) ))
print(entry.published_parsed) #print(entry.published_parsed)
print(entry.title) #print(entry.title)
# Save last_entry_published # Save last_entry_published
self.last_entry_published = entry.published_parsed self.last_entry_published = entry.published_parsed
last_entry_published = time.strftime( last_entry_published = time.strftime(
......
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