Ticket #123 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

allow to use ~/whatever as directory on config file in case of /users/bob/whatever

Reported by: sam Owned by: pjenvey
Priority: normal Milestone: 0.10
Component: Daemon Version:
Severity: normal Keywords:
Cc:

Description

Hi,

I'm often setting up hellanzb on OSX box, and i'd like to use the exact same config file each and everytime ...

I currently have to use /users/bob/downloads/news/hellanzb ... It'll be much better if ~/downloads/news/hellanzb could work in the config file

(i know, i could just put hellanzb on / but i prefer to keep it in user directory, it's safer :-))

it's working perfectly to launch hellanzb in the terminal

e.g : python ~/downloads/news/hellanzb/hellanzb.py -c ~/downloads/news/config/hellanzb.conf

thanks, sam

Attachments

hnzb-expanduser.patch Download (0.9 KB) - added by alex@… 6 years ago.
Patch to use os.path.expanduser

Change History

Changed 6 years ago by sam

  • type changed from defect to enhancement

oops :-)

Changed 6 years ago by alex@…

Patch to use os.path.expanduser

Changed 6 years ago by pjenvey

  • status changed from new to closed
  • resolution set to fixed

patch applied in r791

thanks alex!

Note: See TracTickets for help on using tickets.