質問編集履歴
2
コード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,6 +18,8 @@
|
|
18
18
|
|
19
19
|
print("connecting to hogehoge was not success ")
|
20
20
|
|
21
|
+
exit()
|
22
|
+
|
21
23
|
|
22
24
|
|
23
25
|
data = get_data(conn) #←ここでエラーがでる
|
1
コード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
conn = psycopg2.connect(hogehogehoge)
|
16
16
|
|
17
|
-
|
17
|
+
except:
|
18
18
|
|
19
19
|
print("connecting to hogehoge was not success ")
|
20
20
|
|