projects
/
gamesguru
/
getmyancestors.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd555eb
)
Fix: remove iconphoto on Mac OS platforms
author
Benoît Fontaine
<benoit.fontaine@acft.fr>
Mon, 19 Mar 2018 19:24:07 +0000
(20:24 +0100)
committer
Benoît Fontaine
<benoit.fontaine@acft.fr>
Mon, 19 Mar 2018 19:24:07 +0000
(20:24 +0100)
fstogedcom.py
patch
|
blob
|
history
diff --git
a/fstogedcom.py
b/fstogedcom.py
index 520a32c7c99ec17c36c88ccb405da17b86049099..52d0f2329aa579c02026778228a7c7bd199b0639 100644
(file)
--- a/
fstogedcom.py
+++ b/
fstogedcom.py
@@
-11,6
+11,7
@@
import tempfile
import asyncio
import re
import os
+import sys
# local import
from getmyancestors import Session, Tree, Indi, Fam
@@
-514,6
+515,7
@@
class FStoGEDCOM(Notebook):
if __name__ == '__main__':
root = Tk()
root.title('FamilySearch to GEDCOM')
- root.iconphoto(True, PhotoImage(file='fstogedcom.png'))
+ if sys.platform != 'darwin':
+ root.iconphoto(True, PhotoImage(file='fstogedcom.png'))
fstogedcom = FStoGEDCOM(root)
fstogedcom.mainloop()