diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-01 22:57:15 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-01 22:57:15 +0200 |
commit | 854862e1c73bf0c521e08b8973721e8be7aeb82e (patch) | |
tree | 7f976931e7c9f121a5fe6791e61bb531ac401e72 /pyaggr3g470r/views/views.py | |
parent | Added customized-bootstrap.css file. (diff) | |
download | newspipe-854862e1c73bf0c521e08b8973721e8be7aeb82e.tar.gz newspipe-854862e1c73bf0c521e08b8973721e8be7aeb82e.tar.bz2 newspipe-854862e1c73bf0c521e08b8973721e8be7aeb82e.zip |
Bugfix.
Diffstat (limited to 'pyaggr3g470r/views/views.py')
-rw-r--r-- | pyaggr3g470r/views/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py index f77bdeba..3b39e9b0 100644 --- a/pyaggr3g470r/views/views.py +++ b/pyaggr3g470r/views/views.py @@ -510,7 +510,7 @@ def management(): if None != request.files.get('opmlfile', None): # Import an OPML file data = request.files.get('opmlfile', None) - if not g.allowed_file(data.filename): + if not utils.allowed_file(data.filename): flash(gettext('File not allowed.'), 'danger') else: try: @@ -523,7 +523,7 @@ def management(): elif None != request.files.get('jsonfile', None): # Import an account data = request.files.get('jsonfile', None) - if not g.allowed_file(data.filename): + if not utils.allowed_file(data.filename): flash(gettext('File not allowed.'), 'danger') else: try: |