aboutsummaryrefslogtreecommitdiffstats
path: root/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'database.py')
-rwxr-xr-xdatabase.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/database.py b/database.py
index 2491c08..6eaddbb 100755
--- a/database.py
+++ b/database.py
@@ -280,9 +280,10 @@ def migrate(sqlitefile):
db.migrate(sqlitefile)
if __name__ == "__main__":
- migrate("SmallYTChannelDatabase.db")
+ #migrate("SmallYTChannelDatabase.db")
# with Database() as db:
# #db.give_lambda("floofleberries", "https://www.reddit.com/r/SmallYTChannel/comments/ho5b5p/new_video_advice_would_help_but_even_just_a_watch/")
# print(db.id_in_blacklist("hyy6v0"))
+ print(subreddit.format_monthly_leaderboard())