Skip to content

Commit

Permalink
fix lint"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin-Sun-tts committed Mar 6, 2024
1 parent 60e7944 commit 3c316cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
16 changes: 0 additions & 16 deletions .env-sample

This file was deleted.

6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,23 @@ def get_harvest_source(source_id):
try:
result = db.get_harvest_source(source_id)
return result
except:
except Exception as e:
return "provide source_id"

@app.route('/harvest_job/<job_id>', methods=['GET'])
def get_harvest_job(job_id):
try:
result = db.get_harvest_job(job_id)
return result
except:
except Exception as e:
return "provide job_id"

@app.route('/harvest_error/<error_id>', methods=['GET'])
def get_harvest_error(error_id):
try:
result = db.get_harvest_error(error_id)
return result
except:
except Exception as e:
return "provide error_id"

@app.teardown_appcontext
Expand Down

0 comments on commit 3c316cf

Please sign in to comment.