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

Commit

Permalink
Updated requirements.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBerdik committed Jun 17, 2020
1 parent 01a9576 commit d509c54
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions libs/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ def __init__(self):

def check_imports(self):
try:
import array, gc, libs.drive_api as drive_api, math, os, os.path, pickle, requests, sys, time, zipfile
import array, gc, libs.drive_api, libs.hash_handler, libs.upload_handler, math, os, os.path, pickle, requests, socket, sys, threading, zipfile

from apiclient.http import MediaIoBaseDownload
from apiclient.http import MediaIoBaseUpload
from binascii import crc32
Expand All @@ -17,12 +18,15 @@ def check_imports(self):
from hashlib import sha256
from io import BytesIO
from libs.bar import getpatchedprogress
from libs.ftp_server import init_ftp_server
from libs.help import print_help
from libs.upload_handler import handle_update_fragment
from libs.upload_handler import handle_upload_fragment
from os import mkdir
from os import remove
from os.path import exists
from PIL import Image
from progress.bar import ShadyBar
from progress.spinner import Spinner
from shutil import rmtree
from tabulate import tabulate
except (ModuleNotFoundError, ImportError) as error:
print('\nOops! ', end = ' ')
Expand Down

0 comments on commit d509c54

Please sign in to comment.