質問編集履歴

2

コード修正

2018/03/21 12:30

投稿

super_tomato
super_tomato

スコア34

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

コード修正

2018/03/21 12:30

投稿

super_tomato
super_tomato

スコア34

test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  conn = psycopg2.connect(hogehogehoge)
16
16
 
17
- except:
17
+ except:
18
18
 
19
19
  print("connecting to hogehoge was not success ")
20
20