diff options
| author | jvoisin | 2016-03-28 00:06:52 +0200 |
|---|---|---|
| committer | jvoisin | 2016-03-28 00:06:52 +0200 |
| commit | 98fb7fe1f0edec16ecd405707cc903d2b4a7dc40 (patch) | |
| tree | a4381c8f10d8d473a26ac878a27c67153d645373 /mat-gui | |
| parent | e56992e8e0ef197974932cf3849f3e2fab7281df (diff) | |
First step toward python3
Diffstat (limited to 'mat-gui')
| -rwxr-xr-x | mat-gui | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -451,7 +451,10 @@ non-anonymised) file from output archive')) | |||
| 451 | 451 | ||
| 452 | 452 | ||
| 453 | if __name__ == '__main__': | 453 | if __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 | ||
