From e8dfa85cd7e0428e53aac532c31f1ac1cc3cf1c1 Mon Sep 17 00:00:00 2001 From: Calvin Date: Thu, 7 Mar 2013 17:17:20 -0500 Subject: starting to modularize --- quikr_util.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 quikr_util.py (limited to 'quikr_util.py') 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 -- cgit v1.2.3