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
elif opt in ("-f", "--format"):
desktop = arg
if desktop is False:
if not desktop:
usage()
sys.exit('ERROR: You must specify the output format with -f')
elif desktop == "fluxbox":

Loading…
Cancel
Save