aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/__main__.py')
-rw-r--r--yt_dlp/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/__main__.py b/yt_dlp/__main__.py
index ff5d71d3c..78701df8d 100644
--- a/yt_dlp/__main__.py
+++ b/yt_dlp/__main__.py
@@ -5,7 +5,7 @@
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__))