Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage
Commits
476350aa
Commit
476350aa
authored
Dec 19, 2014
by
echel0n
Browse files
Options
Downloads
Patches
Plain Diff
Fixed issues with pastebin attachments for issue submitter.
parent
5fe4d743
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
gui/slick/interfaces/default/home.tmpl
+1
-1
1 addition, 1 deletion
gui/slick/interfaces/default/home.tmpl
sickbeard/encodingKludge.py
+1
-10
1 addition, 10 deletions
sickbeard/encodingKludge.py
sickbeard/logger.py
+5
-3
5 additions, 3 deletions
sickbeard/logger.py
with
7 additions
and
14 deletions
gui/slick/interfaces/default/home.tmpl
+
1
−
1
View file @
476350aa
...
...
@@ -9,7 +9,7 @@
#set global $sbPath = ".."
#set global $topmenu="home"#
#import os.pat
h
#import os.pat
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.tmpl")
#set $myDB = $db.DBConnection()
...
...
This diff is collapsed.
Click to expand it.
sickbeard/encodingKludge.py
+
1
−
10
View file @
476350aa
...
...
@@ -17,17 +17,8 @@
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
import
os
import
traceback
import
re
import
sickbeard
import
six
import
chardet
import
unicodedata
from
string
import
ascii_letters
,
digits
from
sickbeard
import
logger
from
unidecode
import
unidecode
import
sickbeard
def
_toUnicode
(
x
):
try
:
...
...
This diff is collapsed.
Click to expand it.
sickbeard/logger.py
+
5
−
3
View file @
476350aa
...
...
@@ -26,6 +26,7 @@ import platform
import
sickbeard
from
sickbeard
import
classes
from
sickbeard.encodingKludge
import
ek
from
github
import
Github
from
pastebin
import
PastebinAPI
...
...
@@ -149,10 +150,11 @@ class Logger(object):
pastebin_url
=
None
try
:
if
self
.
logFile
and
os
.
path
.
isfile
(
self
.
logFile
):
with
ek
.
ek
(
open
,
self
.
logFile
)
as
f
:
data
=
f
.
readlines
(
50
)
with
ek
(
open
,
self
.
logFile
)
as
f
:
data
=
f
.
readlines
()
data
=
""
.
join
(
data
[
len
(
data
)
-
100
:])
pastebin_url
=
PastebinAPI
().
paste
(
'
f59b8e9fa1fc2d033e399e6c7fb09d19
'
,
data
)
except
:
except
Exception
as
e
:
pass
try
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment