Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Commit

Permalink
Added missing dependencies to requirements.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBerdik committed May 27, 2020
1 parent 7994b44 commit 65d7047
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions libs/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,24 @@ def __init__(self):

def check_imports(self):
try:
import array, gc, libs.driveAPI as driveAPI, math, os, requests, sys, time
import array, gc, libs.driveAPI as driveAPI, math, os, os.path, pickle, requests, sys, time, zipfile
from apiclient.http import MediaIoBaseDownload
from apiclient.http import MediaIoBaseUpload
from binascii import crc32
from docx import Document
from googleapiclient.discovery import build
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request
from hashlib import sha256
from io import BytesIO
from libs.bar import getpatchedprogress
from libs.help import print_help
from libs.uploadHandler import handle_update_fragment
from libs.uploadHandler import handle_upload_fragment
from PIL import Image
from progress.bar import ShadyBar
from progress.spinner import Spinner
from tabulate import tabulate
from libs.uploadHandler import handle_upload_fragment
except (ModuleNotFoundError, ImportError) as error:
print('\nOops! ', end = ' ')
print(error)
Expand Down

0 comments on commit 65d7047

Please sign in to comment.