Skip to content

Commit

Permalink
tests for PSM
Browse files Browse the repository at this point in the history
  • Loading branch information
evertonstz committed Jun 12, 2020
1 parent 8676a0e commit 9ac6716
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pynps/functions/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,14 @@ def create_args():
else:
printft(HTML("<red>[ERROR] NPS only supports game downlaods for the Playstation (PSX)</red>"))
sys.exit(1)

if "PSM" in a.console and True in [a.dlcs, a.themes, a.updates, a.demos]:
if len(a.console) > 1:
printft(HTML("<orange>[WARNING] NPS only supports game downlaods for the Playstation Mobible (PSM)</orange>"))
else:
printft(HTML("<red>[ERROR] NPS only supports game downlaods for the Playstation Mobible (PSM)</red>"))
sys.exit(1)

if "PS3" in a.console and a.updates == True:
if len(a.console) > 1:
printft(HTML("<orange>[WARNING] NPS has no support for updates with the Playstation 3 (PS3)</orange>"))
Expand Down

0 comments on commit 9ac6716

Please sign in to comment.