Skip to content

Commit

Permalink
fix: correct formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
znarfm committed Feb 9, 2025
1 parent ce9bb64 commit ad7f416
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bing_rewards/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def browser_cmd(exe: Path, agent: str, profile: str = '') -> list[str]:
# NO CHECKING IS DONE if the profile exists
if profile:
cmd.extend([f'--profile-directory={profile}'])
if os.environ.get("XDG_SESSION_TYPE", "").lower() == "wayland":
cmd.append("--ozone-platform=x11")
if os.environ.get('XDG_SESSION_TYPE', '').lower() == 'wayland':
cmd.append('--ozone-platform=x11')
return cmd


Expand Down Expand Up @@ -173,7 +173,7 @@ def search(count: int, words_gen: Generator, agent: str, options: Namespace):
# This is very fast and hopefully reliable
key_controller.type(search_url + '\n')

print(f'Search {i+1}: {query}')
print(f'Search {i + 1}: {query}')
# Delay to let page load
time.sleep(options.search_delay)

Expand Down

0 comments on commit ad7f416

Please sign in to comment.