Skip to content

Commit

Permalink
Update NSLGameScanner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
moraroy authored Feb 28, 2024
1 parent 9890c62 commit c6d1c58
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions NSLGameScanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,9 @@ def get_amazon_games():
#End of Amazon Games Scanner



sys.path.insert(0, os.path.expanduser(f"{logged_in_home}/homebrew") # Add the directory containing aiohttp to the Python path
import aiohttp
import asyncio

# Only write back to the shortcuts.vdf and config.vdf files if new shortcuts were added or compattools changed
if new_shortcuts_added or shortcuts_updated:
Expand Down Expand Up @@ -1023,10 +1025,6 @@ def get_amazon_games():

# Assuming 'games' is a list of game dictionaries
games = [shortcut for shortcut in shortcuts['shortcuts'].values()]

sys.path.append(f"{logged_in_home}/homebrew") # Add the directory containing aiohttp to the Python path
import aiohttp
import asyncio

async def send_data():
# Create a session
Expand Down

0 comments on commit c6d1c58

Please sign in to comment.