aboutsummaryrefslogtreecommitdiffstats
path: root/dvb-t/se-Ludvika_Bjorkasen
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2014-12-28 13:19:48 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2014-12-28 13:19:48 +0000
commit02465a1a68365a9ac81000ea200498c19876fc09 (patch)
tree6f74072f9476e8c2cf9659dcff2179e441dac388 /dvb-t/se-Ludvika_Bjorkasen
parenta89db100198fa0ab967b6e2e393f58a016547491 (diff)
parent4500e42b1bd162ca4a91c5096918fc56410de30f (diff)
downloaddtv-scan-tables-02465a1a68365a9ac81000ea200498c19876fc09.tar.gz
Merge tag 'upstream/0+git20141218.b46a22c'
Upstream version 0+git20141218.b46a22c
Diffstat (limited to 'dvb-t/se-Ludvika_Bjorkasen')
-rw-r--r--dvb-t/se-Ludvika_Bjorkasen1
1 files changed, 0 insertions, 1 deletions
diff --git a/dvb-t/se-Ludvika_Bjorkasen b/dvb-t/se-Ludvika_Bjorkasen
index 4d2ecd5..165a8d3 100644
--- a/dvb-t/se-Ludvika_Bjorkasen
+++ b/dvb-t/se-Ludvika_Bjorkasen
@@ -1,5 +1,4 @@
# Sweden - Ludvika/Björkåsen
-# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy
[CHANNEL]
DELIVERY_SYSTEM = DVBT
FREQUENCY = 498000000
olor: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
import urllib
import shutil

download_path = "/tmp/"

def saveimage(imageurl):
	filename = imageurl.split('/')[-1]
	tmpname = filename + ".tmp"
	try:
		urllib.urlretrieve(imageurl, download_path + tmpname)
	except IOError:
		return "Error downloading file"
	else:
		shutil.move(download_path + tmpname, download_path + filename)
		return download_path + filename


#saveimage("http://www.switch.ch/network/operation/statistics/geant2-day.png")
#saveimage("http://192.168.12.113/mrtg/127.0.0.1_2-day.png")