Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python 3.12 \ invalid escape warning | add requirements.txt #103

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

D3vil0p3r
Copy link

@D3vil0p3r D3vil0p3r commented Nov 18, 2024

Fix the following warnings:

/usr/share/sparrow-wifi/wirelessengine.py:674: SyntaxWarning: invalid escape sequence '\('
  p_bss = re.compile('^BSS (.*?)\(')
/usr/share/sparrow-wifi/wirelessengine.py:685: SyntaxWarning: invalid escape sequence '\-'
  p_signal = re.compile('^.*?signal:.*?([\-0-9]+).*?dBm')
/usr/share/sparrow-wifi/sparrowbluetooth.py:369: SyntaxWarning: invalid escape sequence '\('
  p_company = re.compile('Company: (.*) \(')
/usr/share/sparrow-wifi/plugins/falconwifi.py:702: SyntaxWarning: invalid escape sequence '\!'
  p = re.compile('KEY FOUND\! \[(.*?)\].*')
/usr/share/sparrow-wifi/plugins/falconwifi.py:780: SyntaxWarning: invalid escape sequence '\!'
  p = re.compile('KEY FOUND\! \[(.*?)\].*')

and add requirements.txt with the right dependencies. Close #102

@D3vil0p3r D3vil0p3r changed the title Fix Python 3.12 \ invalid escape warning Fix Python 3.12 \ invalid escape warning | add requirements.txt Nov 18, 2024
@D3vil0p3r D3vil0p3r marked this pull request as ready for review November 18, 2024 19:59
@D3vil0p3r
Copy link
Author

@ghostop14 can you give a quick look and merge it please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add requirements.txt file
1 participant