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

PR for v3.0.5 minor release #41

Merged
merged 2 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import argparse

# application version
__version__ = "3.0.4"
__version__ = "3.0.5"

# application site
__location__ = "https://rogue.infamoussyn.com/"
Expand Down
4 changes: 2 additions & 2 deletions core/libs/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def set_driver(self):

@classmethod
def set_country(self):
self.country_code = "country_code={}".format(self.country_code) if self.country_code is not None else "#country_code=00"
self.country_code = "country_code={}".format(self.country_code) if (self.country_code is not None and self.country_code != '00') else "#country_code=00"

@classmethod
def check_80211d(self):
Expand Down Expand Up @@ -508,7 +508,7 @@ def set_options():
ieee80211_config.add_argument('--country',
dest='country_code',
type=str,
default=00,
default='00',
choices=config.rogue_country_options,
help='Configures of country of operation')

Expand Down
Loading