Skip to content

[BUG] Config files creation ignoring home directory and $HOME/.config #28

@Blocked

Description

@Blocked

Describe the bug
webchanges seems to check the root folder, creates and stores config files in the first accessible folder: /data/data/com.termux/shared_prefs/webchanges/jobs.yaml. urlwatch stores it correctly in XDG_CONFIG_HOME:$HOME/.config/urlwatch. $HOME would be /data/data/com.termux/files/home. Migration fails.

To Reproduce
Run webchanges in a non standard prefixed environment.

Expected behavior
Default config files should be stored in $HOME/.config/*.

Version info
Please run webchanges -v and paste the version information as follows (first 3 lines):

  • webchanges 3.9.1
  • Python 3.10.2
  • System Linux-4.14-perf+-aarch64-with-libc(Termux/Android)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions