When run from the command line, use the directory name as a default feed title.

This commit is contained in:
Solderpunk 2020-03-17 19:27:26 +01:00
parent e116e5e154
commit 7c72eeba91
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ def main():
parser.add_argument('-s', '--subtitle', dest='subtitle', type=str,
help='feed subtitle')
parser.add_argument('-t', '--title', dest='title', type=str,
help='feed title')
default=os.path.basename(cwd), help='feed title')
args = parser.parse_args()
# Normalise base URL