Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
Merge 37e3d3a into 800887e
Browse files Browse the repository at this point in the history
  • Loading branch information
bboe committed Aug 16, 2016
2 parents 800887e + 37e3d3a commit 98f0c0b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion prawtools/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def main():
if not args:
parser.error('At least one KEYWORD must be provided.')

session = praw.Reddit(options.site, disable_update_check=True,
session = praw.Reddit(options.site, check_for_updates=False,
user_agent=AGENT)

if options.message:
Expand Down
2 changes: 1 addition & 1 deletion prawtools/mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ModUtils(object):

def __init__(self, subreddit, site=None, verbose=None):
"""Initialize the ModUtils class by passing in config options."""
self.reddit = Reddit(site, disable_update_check=True, user_agent=AGENT)
self.reddit = Reddit(site, check_for_updates=False, user_agent=AGENT)
self.sub = self.reddit.subreddit(subreddit)
self.verbose = verbose
self._current_flair = None
Expand Down
2 changes: 1 addition & 1 deletion prawtools/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, subreddit, site, distinguished):
self.distinguished = distinguished
self.min_date = 0
self.max_date = time.time() - DAYS_IN_SECONDS
self.reddit = Reddit(site, disable_update_check=True, user_agent=AGENT)
self.reddit = Reddit(site, check_for_updates=False, user_agent=AGENT)
self.submissions = []
self.submitters = defaultdict(list)
self.submit_subreddit = self.reddit.subreddit('subreddit_stats')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
'console_scripts': ['modutils = prawtools.mod:main',
'reddit_alert = prawtools.alert:main',
'subreddit_stats = prawtools.stats:main']},
install_requires=['praw >=4.0.0b11, <5', 'update_checker ==0.11'],
install_requires=['praw >=4.0.0b14, <5', 'update_checker ==0.11'],
keywords='reddit mod moderator subreddit statistics tools',
license='Simplified BSD License',
long_description=README,
Expand Down

0 comments on commit 98f0c0b

Please sign in to comment.