Skip to content

Commit

Permalink
addressing liniting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TomPughe committed Jun 18, 2024
1 parent 4dfed13 commit 02de191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
APP = Flask(__name__)

# Load the data
MASCOTS = json.load(open('data.json', 'r', 'ascii'))
with open('data.json', 'r', encoding='ascii') as datafile:
MASCOTS = json.load(datafile)


@APP.route('/', methods=['GET'])
Expand Down

0 comments on commit 02de191

Please sign in to comment.