mirror of
https://github.com/developersIndia/deviras.git
synced 2024-12-22 16:19:50 +05:30
fix again
This commit is contained in:
parent
41d8a9a170
commit
93928f88dc
3
.github/workflows/python-app.yml
vendored
3
.github/workflows/python-app.yml
vendored
@ -43,4 +43,5 @@ jobs:
|
|||||||
REDDIT_CLIENT_SECRET: ${{ secrets.REDDIT_CLIENT_SECRET }}
|
REDDIT_CLIENT_SECRET: ${{ secrets.REDDIT_CLIENT_SECRET }}
|
||||||
REDDIT_PASSWORD: ${{ secrets.REDDIT_PASSWORD }}
|
REDDIT_PASSWORD: ${{ secrets.REDDIT_PASSWORD }}
|
||||||
run: |
|
run: |
|
||||||
python idcard_update/main.py
|
cd idcard_update
|
||||||
|
python main.py
|
||||||
|
@ -13,7 +13,7 @@ client_secret = os.environ["REDDIT_CLIENT_SECRET"]
|
|||||||
reddit_pass = os.environ["REDDIT_PASSWORD"]
|
reddit_pass = os.environ["REDDIT_PASSWORD"]
|
||||||
|
|
||||||
def get_titles():
|
def get_titles():
|
||||||
with open('idcard_update/dataset.json', 'r') as f:
|
with open('dataset.json', 'r') as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
|
|
||||||
titles = data['titles']
|
titles = data['titles']
|
||||||
|
Loading…
Reference in New Issue
Block a user