Skip to content

Commit

Permalink
Change the path to the config file as well as the path to the lotw ca…
Browse files Browse the repository at this point in the history
…che file
  • Loading branch information
0x9900 committed Sep 18, 2024
1 parent f8e58f2 commit 9cbf77b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import yaml

CONFIG_FILENAME = "ft8ctrl.yaml"
CONFIG_LOCATIONS = ['/etc', '~/.local', '.']
CONFIG_LOCATIONS = ['/etc', '~/.local/etc', '.']


class Config:
Expand Down
2 changes: 1 addition & 1 deletion plugins/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
warnings.filterwarnings("ignore", category=DeprecationWarning)

LOTW_URL = 'https://lotw.arrl.org/lotw-user-activity.csv'
LOTW_CACHE = Path.home() / '.local/lotw_cache'
LOTW_CACHE = Path('/tmp/lotw_cache.dat')
LOTW_EXPIRE = 7 * 86400
LOTW_LASTSEEN = 270 # Users who haven't used LOTW for 'n' days

Expand Down

0 comments on commit 9cbf77b

Please sign in to comment.