Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
izdwuut committed Feb 20, 2020
2 parents 481dd49 + 64469fc commit 943c68e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion backend/app/cache/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def scrap_steam_profile(self, comment, reddit_comment):
logging.info('Games list visible: {}.'.format(steam_user.games_visible))

level = self.steam.get_level(steam_user.steam_id)
if level is None:
if level is None and steam_user.public_profile:
self.commit_not_scrapped_steam_user(steam_user)
return
steam_user.level = level
Expand Down
2 changes: 1 addition & 1 deletion backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class RedditConfig:
CLIENT_SECRET = os.environ['GOG_PICKER_REDDIT_CLIENT_SECRET']
USERNAME = os.environ['GOG_PICKER_REDDIT_USERNAME']
PASSWORD = os.environ['GOG_PICKER_REDDIT_PASSWORD']
USER_AGENT = 'python:gog-picker:v0.14.0 (by /u/izdwuut)'
USER_AGENT = 'python:gog-picker:v0.14.1 (by /u/izdwuut)'
NOT_ENTERING = 'not entering'
MIN_KARMA = 300

Expand Down
6 changes: 1 addition & 5 deletions backend/gog-picker.wsgi
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/usr/bin/python
#!/usr/bin/python3
import sys

activate_this = '/var/www/gog-picker-backend/venv/bin/activate'
with open(activate_this) as file_:
exec(file_.read(), dict(__file__=activate_this))

sys.path.insert(0,"/var/www/gog-picker-backend/")

from app import create_app
Expand Down
1 change: 1 addition & 0 deletions frontend/src/app/results/results.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ <h1>
<ol>
<li>Check winners post history.</li>
<li>Check if a redditor still participates in a drawing (a comment is not deleted or edited).</li>
<li><a href="https://www.reddit.com/r/GiftofGames/comments/c6ipzc/important_read_before_posting_offers_hey_why_is/" target="_blank">Flair winners.</a></li>
<li>Send games!</li>
</ol>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<body>
<app-root></app-root>
<footer class="footer">
Gift of Games Picker for Reddit <a href="https://github.com/izdwuut/gog-picker">v0.14.0</a>.
Gift of Games Picker for Reddit <a href="https://github.com/izdwuut/gog-picker">v0.14.1</a>.
Scripted by <a href="https://reddit.com/u/izdwuut">u/izdwuut</a> and <a href="https://github.com/izdwuut/gog-picker/pulls">friends</a> in open source.
Licensed under <a href="https://github.com/izdwuut/gog-picker/blob/dev/LICENSE">MIT Licence</a>
</footer>
Expand Down

0 comments on commit 943c68e

Please sign in to comment.