@@ -37,6 +37,7 @@ def getSource(sp):
3737 #89:{"id":"DIBC","source":"coinmarketcap"},
3838 #90:"https://market.bitsquare.io/api/trades?market=sfsc_btc",
3939 #149:{"cmcid":"1642","name":"ALT","source":"coinmarketcap"},
40+ 351 :{"cmcid" :"1612" ,"id" :"DIBC" ,"name" :"Dibcoin V2" ,"source" :"coinmarketcap" },
4041 701 :{"cmcid" :"3850" ,"id" :"OTO" ,"name" :"OTOCash" ,"source" :"coinmarketcap" },
4142 732 :"https://api.dex-trade.com/v1/public/trades?pair=HTDBTC"
4243 }
@@ -129,7 +130,8 @@ def updateBTC():
129130 else :
130131 upsertRate ('Fiat' , fpid , 'Bitcoin' , 0 , value , source , timestamp )
131132 if len (new ) > 0 :
132- printdebug (("New Symbols not in db" ,new ),5 )
133+ #printdebug(("New Symbols not in db",new),5)
134+ printdebug (("New Symbols not in db" ),5 )
133135 except requests .exceptions .RequestException as e :
134136 #error or timeout, skip for now
135137 printdebug (("Error updating BTC Price" ,e ),3 )
@@ -266,6 +268,7 @@ def main():
266268
267269 try :
268270 updatePrices ()
271+ printdebug (("Update Complete" ,now ),5 )
269272 except Exception as e :
270273 #Catch any issues and stop processing. Try to undo any incomplete changes
271274 print "updatePrices: Problem with " , e
0 commit comments