Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30f127cca4 | ||
|
|
3d8c5a2823 |
@@ -93,11 +93,11 @@ namespace URLNotesGrabberCORE
|
|||||||
{
|
{
|
||||||
connection.Open();
|
connection.Open();
|
||||||
|
|
||||||
string sql = "INSERT INTO Blogs (BlogName) values('" + blogName + "')";
|
string sql = "INSERT OR IGNORE INTO Blogs (BlogName) values('" + blogName + "')";
|
||||||
SQLiteCommand command = new SQLiteCommand(sql, connection);
|
SQLiteCommand command = new SQLiteCommand(sql, connection);
|
||||||
|
|
||||||
command.ExecuteNonQuery();
|
command.ExecuteNonQuery();
|
||||||
Console.WriteLine("+ " + blogName);
|
// Console.WriteLine("+ " + blogName);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user