Browse Source

Better syntax for if statement

pull/4/head
George Vlahavas 9 years ago
parent
commit
e558aff390
  1. 2
      src/xdgmenumaker

2
src/xdgmenumaker

@ -98,7 +98,7 @@ def main(argv):
pekwmdynamic = True pekwmdynamic = True
elif opt in ("-f", "--format"): elif opt in ("-f", "--format"):
desktop = arg desktop = arg
if desktop is False: if not desktop:
usage() usage()
sys.exit('ERROR: You must specify the output format with -f') sys.exit('ERROR: You must specify the output format with -f')
elif desktop == "fluxbox": elif desktop == "fluxbox":

Loading…
Cancel
Save