summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
authorjvoisin2016-03-28 00:06:52 +0200
committerjvoisin2016-03-28 00:06:52 +0200
commit98fb7fe1f0edec16ecd405707cc903d2b4a7dc40 (patch)
treea4381c8f10d8d473a26ac878a27c67153d645373 /mat-gui
parente56992e8e0ef197974932cf3849f3e2fab7281df (diff)
First step toward python3
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui5
1 files changed, 4 insertions, 1 deletions
diff --git a/mat-gui b/mat-gui
index feccbd2..fc927db 100755
--- a/mat-gui
+++ b/mat-gui
@@ -451,7 +451,10 @@ non-anonymised) file from output archive'))
451 451
452 452
453if __name__ == '__main__': 453if __name__ == '__main__':
454 gettext.install('MAT', unicode=True) 454 try:
455 gettext.install('MAT', unicode=True)
456 except TypeError: # python 3
457 gettext.install('MAT')
455 458
456 gui = GUI() 459 gui = GUI()
457 460