Skip to content

Commit 484a354

Browse files
committed
chore: proofreading
1 parent 7d0eece commit 484a354

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Readme.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,22 @@ source code a little and publish it on GitHub.
2323
### Installation
2424
```
2525
cd src
26-
zip ../Stud2NC src/*
26+
zip ../Stud2NC.zip ./*
2727
cd ..
2828
python3 Stud2NC.zip [args]
2929
```
3030
Copy `Stud2NC.zip` and (the configured) `config.yaml` to a VPS and configure a
31-
crontab (`crontab -e`:
31+
crontab (`crontab -e`):
3232
```
3333
*/15 * * * * python3 Stud2NC.zip
3434
```
3535

3636
### Local sync to file-system
3737
The easiest way to fetch files, is to just download them to
3838
a local directory. However, this method does not check if
39-
the file has already been downloaded before.
40-
41-
If you just want to fetch a module with all files and
42-
announcements to your disk use:
39+
the file has already been downloaded before. Therefore,
40+
this is useful if you just want to fetch a module with all
41+
files & announcements and save it to your disk.
4342

4443
Enter the url and login credentials to the config.yaml
4544
to avoid passing everything as command-line args.
@@ -54,8 +53,8 @@ or environment-variables. For example passwords can be
5453
injected via the environment whereas the folder configuration
5554
should be set in a config file.
5655

57-
The `config.yaml` in this project can be used as a template
58-
it is heavily commented. Replace all the credentials and
56+
The `config.yaml` in this project can be used as a template.
57+
It is heavily commented. Replace all the credentials and
5958
specify the required modules.
6059

6160
### Contribution

src/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def format_markdown(self) -> str:
4040

4141
def get_hash(self):
4242
"""
43-
Returns hash of the announcement, needed to check for duplicated
43+
Returns hash of the announcement, needed to check for duplicates
4444
:return: hash
4545
"""
4646
text_to_hash = "-#-".join([self.title, self.date, self.content])

0 commit comments

Comments
 (0)