ソースを参照

removed enum type

master
Robin Thoni 8年前
コミット
b8f285b987
1個のファイルの変更1行の追加2行の削除
  1. 1
    2
      vpngen.py

+ 1
- 2
vpngen.py ファイルの表示

@@ -1,5 +1,4 @@
1 1
 import json
2
-from enum import Enum
3 2
 import os
4 3
 import os.path
5 4
 import re
@@ -7,7 +6,7 @@ import shutil
7 6
 from subprocess import call
8 7
 
9 8
 
10
-class VpnGenError(Enum):
9
+class VpnGenError:
11 10
     Success = 0,
12 11
     VpnAlreadyExists = 1,
13 12
     VpnDoesNotExists = 2,

読み込み中…
キャンセル
保存