diff options
Diffstat (limited to 'quikr_util.py')
-rw-r--r-- | quikr_util.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/quikr_util.py b/quikr_util.py deleted file mode 100644 index b2fb968..0000000 --- a/quikr_util.py +++ /dev/null @@ -1,13 +0,0 @@ -# Helper Functions - -# Check if file is gzip compressed -def isCompressed(filename): - f = open(filename, "rb") - - # The first two bytes of a tar file are always '1f 8b' - if f.read(2) == '\x1f\x8b': - f.close() - return True - else: - f.close() - return False |