this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix

alice bd05409b ced3fdcf

+7 -6
+2 -2
.gitignore
··· 1 1 secrets.txt 2 - tweeted.txt 2 + tweeted.* 3 3 .env 4 - fix-commits.sh 4 + fix-commits.sh
+1 -1
Pipfile
··· 10 10 [dev-packages] 11 11 12 12 [requires] 13 - python_version = "3.9" 13 + python_version = "3.10"
+2 -2
Pipfile.lock
··· 1 1 { 2 2 "_meta": { 3 3 "hash": { 4 - "sha256": "bef26ab14a4dfa96b0f3f938f9c193f958e8b5275cddd0e0d3707cbc25b45db7" 4 + "sha256": "83c9ed760ffbc778d58e26ea8f2baa93a54d9afcba07c5ee32c8df36bfd3f30e" 5 5 }, 6 6 "pipfile-spec": 6, 7 7 "requires": { 8 - "python_version": "3.9" 8 + "python_version": "3.10" 9 9 }, 10 10 "sources": [ 11 11 {
+2 -1
app.py
··· 16 16 all_lines = open("songofsongs.txt", "r").read().splitlines() 17 17 already_tweeted = open("tweeted.txt", "r").read().splitlines() 18 18 possible_output = [item for item in all_lines if item not in already_tweeted] 19 - if possible_output.count == 0: 19 + print(possible_output) 20 + if len(possible_output) == 0: 20 21 os.system("mv tweeted.txt tweeted.bak && touch tweeted.txt") 21 22 possible_output = all_lines 22 23