]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/compat.py
Fix PEP8 issue E713
[youtube-dl.git] / youtube_dl / compat.py
index 27596687d0d2c354990e6112027e054865c1c79c..f4a85443eda5086c004040183d1779a7059c0c2e 100644 (file)
@@ -247,7 +247,7 @@ else:
                 userhome = compat_getenv('HOME')
             elif 'USERPROFILE' in os.environ:
                 userhome = compat_getenv('USERPROFILE')
-            elif not 'HOMEPATH' in os.environ:
+            elif 'HOMEPATH' not in os.environ:
                 return path
             else:
                 try: