This commit is contained in:
Tomas Groth 2014-11-06 10:42:54 +01:00
parent b6e0036383
commit ff4ddefa77
4 changed files with 3 additions and 4 deletions

View File

@ -45,7 +45,6 @@ if __name__ == '__main__':
# Mac OS X passes arguments like '-psn_XXXX' to the application. This argument is actually a process serial number. # Mac OS X passes arguments like '-psn_XXXX' to the application. This argument is actually a process serial number.
# However, this causes a conflict with other OpenLP arguments. Since we do not use this argument we can delete it # However, this causes a conflict with other OpenLP arguments. Since we do not use this argument we can delete it
# to avoid any potential conflicts. # to avoid any potential conflicts.
#if sys.platform.startswith('darwin'):
if is_macosx(): if is_macosx():
sys.argv = [x for x in sys.argv if not x.startswith('-psn')] sys.argv = [x for x in sys.argv if not x.startswith('-psn')]
main() main()