From 7743da35831070a7b3df0a969947538bb0f86f3e Mon Sep 17 00:00:00 2001 From: neingeist Date: Wed, 11 Jul 2018 14:06:30 +0200 Subject: [PATCH] require python >= 3.3 --- drive-download.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drive-download.py b/drive-download.py index b940585..b791733 100644 --- a/drive-download.py +++ b/drive-download.py @@ -1,5 +1,10 @@ FOLDER = '1J_Yw3ENBfDOEjiPV2LpYIa86aAPnaVx3' +import sys +if sys.version_info < (3, 3): + sys.stderr.write("Sorry, requires at least Python 3.3\n") + sys.exit(1) + import os import shlex from pydrive.auth import GoogleAuth