mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
5de68a0400 | |||
f0562049b6 |
@ -281,7 +281,10 @@ class IliasCrawler:
|
||||
result += [IliasCrawlerEntry(element_path, abs_url, element_type, None)]
|
||||
continue
|
||||
|
||||
rest_of_name = meeting_name.removeprefix(date_portion_str)
|
||||
rest_of_name = meeting_name
|
||||
if rest_of_name.startswith(date_portion_str):
|
||||
rest_of_name = rest_of_name[len(date_portion_str):]
|
||||
|
||||
new_name = datetime.datetime.strftime(date_portion, "%Y-%m-%d, %H:%M") \
|
||||
+ rest_of_name
|
||||
new_path = Path(folder_path, _sanitize_path_name(new_name))
|
||||
|
@ -37,7 +37,7 @@ Ensure that you have at least Python 3.8 installed.
|
||||
To install PFERD or update your installation to the latest version, run this
|
||||
wherever you want to install or have already installed PFERD:
|
||||
```
|
||||
$ pip install git+https://github.com/Garmelon/PFERD@v2.5.1
|
||||
$ pip install git+https://github.com/Garmelon/PFERD@v2.5.2
|
||||
```
|
||||
|
||||
The use of [venv] is recommended.
|
||||
@ -60,8 +60,8 @@ $ mkdir Vorlesungen
|
||||
$ cd Vorlesungen
|
||||
$ python3 -m venv .venv
|
||||
$ .venv/bin/activate
|
||||
$ pip install git+https://github.com/Garmelon/PFERD@v2.5.1
|
||||
$ curl -O https://raw.githubusercontent.com/Garmelon/PFERD/v2.5.1/example_config.py
|
||||
$ pip install git+https://github.com/Garmelon/PFERD@v2.5.2
|
||||
$ curl -O https://raw.githubusercontent.com/Garmelon/PFERD/v2.5.2/example_config.py
|
||||
$ python3 example_config.py
|
||||
$ deactivate
|
||||
```
|
||||
|
Reference in New Issue
Block a user