aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/__main__.py')
-rw-r--r--hypervideo_dl/__main__.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/hypervideo_dl/__main__.py b/hypervideo_dl/__main__.py
index 49765e4..c45082e 100644
--- a/hypervideo_dl/__main__.py
+++ b/hypervideo_dl/__main__.py
@@ -1,13 +1,11 @@
#!/usr/bin/env python3
-from __future__ import unicode_literals
# Execute with
-# $ python hypervideo_dl/__main__.py (2.6+)
-# $ python -m hypervideo_dl (2.7+)
+# $ python -m hypervideo_dl
import sys
-if __package__ is None and not hasattr(sys, 'frozen'):
+if __package__ is None and not getattr(sys, 'frozen', False):
# direct call of __main__.py
import os.path
path = os.path.realpath(os.path.abspath(__file__))