Skip to content

Commit

Permalink
Update music_caster.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elibroftw committed Sep 27, 2019
1 parent c358d52 commit b814ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_caster.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def download_and_extract(link, infile, outfile=None):
def startup_setting():
run_on_startup = settings['run on startup']
shortcut_exists = os.path.exists(shortcut_path)
if run_on_startup and not shortcut_exists and not settings.get('DEBUG'):
if run_on_startup and not shortcut_exists and not settings.get('DEBUG', False):
shell = win32com.client.Dispatch('WScript.Shell')
shortcut = shell.CreateShortCut(shortcut_path)
if getattr(sys, 'frozen', False): # Running in a bundle
Expand Down

0 comments on commit b814ea5

Please sign in to comment.