mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 15:39:49 -04:00
Initialise clients outside the app
This avoids the annoying problem where you can’t import a client unless the app has already been initialised.
This commit is contained in:
@@ -44,3 +44,6 @@ class AssetFingerprinter(object):
|
||||
with codecs.open(asset_file_path, encoding='utf-8') as asset_file:
|
||||
contents = asset_file.read()
|
||||
return contents
|
||||
|
||||
|
||||
asset_fingerprinter = AssetFingerprinter()
|
||||
|
||||
Reference in New Issue
Block a user