Skip to content

Commit

Permalink
Suppress OAuth warning about missing token file
Browse files Browse the repository at this point in the history
neurotic already handles this.
  • Loading branch information
jpgill86 committed Jan 17, 2021
1 parent 4363f25 commit b7e47c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions neurotic/gui/standalone.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import requests
import subprocess
import pkg_resources
import warnings
from packaging import version

import quantities as pq
Expand All @@ -26,6 +27,9 @@
import logging
logger = logging.getLogger(__name__)

# suppress warning that gdrive token file does not exist
warnings.filterwarnings('ignore', message='Cannot access .*', module='oauth2client')


def open_path_with_default_program(path):
"""
Expand Down

0 comments on commit b7e47c2

Please sign in to comment.