Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Axyss authored Jul 6, 2020
1 parent 6a18bc8 commit b2d88e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions AutomatiK files/epic_mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ def process_request(self): # Filters games that are not free

for i in self.data:

discountPrice = i["price"]["totalPrice"]["discountPrice"]

if i["productSlug"] == "[]": # If the game isn't free or listed
try:
if not i["promotions"]["promotionalOffers"]: # If the game isn't free or listed
continue
except TypeError:
continue

# Parses relevant data such as name and link and adds It to gameData
Expand Down

0 comments on commit b2d88e3

Please sign in to comment.