@@ -0,0 +1,765 @@
+import os%0A%0A# Pickle files should be .p file extensions, not .txt.  Add a migration script.%0Adef rename_pickles():%0A    pickles = %5B'falsePositives.txt', 'whitelistedUsers.txt', 'blacklistedUsers.txt', 'ignoredPosts.txt',%0A                    'autoIgnoredPosts.txt', 'users.txt', 'notifications.txt', 'whyData.txt', 'whyDataAllspam.txt',%0A                    'latestMessages.txt', 'apiCalls.txt', 'bodyfetcherQueue.txt', 'bodyfetcherMaxIds.txt'%5D%0A%0A    # Check if each of these is a file, and if it exists, rename it to .p extension.%0A    for txt in pickles:%0A        try:%0A            if os.path.isfile(txt):%0A                os.rename(txt, (txt%5B:-4%5D + '.p'))%0A        except:%0A            raise RuntimeError(%22Could not migrate Pickle file from .txt extension to .p extension.%22)

Add pickle migration script for .txt to .p